☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag12480.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/diag12480.d
code
plain
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);