Debian Codegraph @

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

raw
1 // REQUIRED_ARGS: -m32
2 /*
3 TEST_OUTPUT:
4 ---
5 fail_compilation/diag12480.d(12): Error: static assert: `2u == 3u` is false
6 ---
7 */
8
9 module diag12480;
10
11 static immutable arr = ["a", "b"];
12 static assert(arr.length == 3);