Source

gdc / gdc.test / fail_compilation / fail110.d

1
2
3
4
5
6
7
8
9
// 297

void main() {
        int i;
        int[] a;
        foreach (i; a) {}
        foreach (int i, n; a) {}
        for (int i;;) {}
}