error: 'int []' contains incomplete type
|  --> in tests/fixtures/unsized_array_err.c:7:7
|
7   int a[];
|       ^
error: conflicting types for 'a': 'int []' vs 'int [1][9]'
|  --> in tests/fixtures/unsized_array_err.c:17:7
|
17   int a[] = 34;
|        ^
error: invalid array-type: 'int []'
|  --> in tests/fixtures/unsized_array_err.c:21:8
|
21   int b[][] = {1, 2, {2, 4, 5}};
|         ^
error: 'int *[]' contains incomplete type
|  --> in tests/fixtures/unsized_array_err.c:22:3
|
22   (int *[])2;
|    ^
error: excess elements in scalar initializer
|  --> in tests/fixtures/unsized_array_err.c:23:22
|
23   int c[] = {1, {23, 2}};
|                       ^
error: cannot initialize 'int []' with scalar
|  --> in tests/fixtures/unsized_array_err.c:25:7
|
25   int e[] = 1;
|        ^
error: cannot initialize 'int [2]' with scalar
|  --> in tests/fixtures/unsized_array_err.c:26:7
|
26   int e1[2] = 1;
|        ^
error: 'long *[]' contains incomplete type
|  --> in tests/fixtures/unsized_array_err.c:28:16
|
28   long *f[] = {sizeof(f)};
|                 ^
error: 'int [][9]' contains incomplete type
|  --> in tests/fixtures/unsized_array_err.c:29:9
|
29   sizeof(array[]);
|          ^
error: 'int []' contains incomplete type
|  --> in tests/fixtures/unsized_array_err.c:30:3
|
30   sizeof(global);
|    ^
error: 'long (*[])[]' contains incomplete type
|  --> in tests/fixtures/unsized_array_err.c:32:9
|
32   long(*p[])[];
|          ^
error: 'int []' contains incomplete type
|  --> in tests/fixtures/unsized_array_err.c:36:17
|
36   printf("%ld", sizeof(*k2));
|                  ^
error: cannot assign to type 'long (*)[]' with type 'long **'
|  --> in tests/fixtures/unsized_array_err.c:40:23
|
40   long(*three[])[] = {first, sec};
|                        ^
error: cannot assign to type 'long (*)[][2]' with type 'int (*)[3][2]'
|  --> in tests/fixtures/unsized_array_err.c:42:9
|
42   long(*also2)[][2] = &also;
|          ^
error: invalid array-type: 'int []'
|  --> in tests/fixtures/unsized_array_err.c:48:15
|
48 int func(int a[2][]) { return 0; }
|                ^
15 errors generated.
