Source

gdc / gdc.test / fail_compilation / fail151.d

Full commit
1
2
3
4
5
6
7
void main() {
    int length;
    int[4] data;

    data[length - 1] = 42;
}