Source

gdc / gdc.test / fail_compilation / fail264.d

Full commit
1
2
3
4
5
6
7
8
void main() {
    foreach (element; undef) {
        fn(element);
    }
}

void fn(int i) {}