Source

gdc / gdc.test / fail_compilation / fail312.d

Full commit
1
2
3
4
5
6
7
void main() {
    int[1] a = 1;
    short b = 1;
    assert (a[] == b);
    assert (a[] <= b);
}