Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail18.d(14): Error: upper and lower bounds are needed to slice a pointer
5 ---
6 */
7
8 // 7/25
9 // Internal error: ..\ztc\cgcod.c 1464
10
11 void main ()
12 {
13 int x = 3;
14 int[] a = (&x)[];
15 }