Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/fail229.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail229.d(11): Error: array index 18446744073709551615 overflow
5 fail_compilation/fail229.d(11): Error: array dimension overflow
6 ---
7 */
8
9 // https://issues.dlang.org/show_bug.cgi?id=1936
10 // Error with no line number (array dimension overflow)
11 static int[] x = [-1: 1];