Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/diag12312.d(10): Error: variable `diag12312.main.arr` of type `void[16]` does not have a default initializer
5 fail_compilation/diag12312.d(15): Error: variable `diag12312.bug1176.v` of type `void[1]` does not have a default initializer
6 ---
7 */
8 void main()
9 {
10 void[16] arr;
11 }
12
13 void bug1176()
14 {
15 void[1] v;
16 }