mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00

* [dsymbolsem] Fix error punctuation (part 4) Also move fail233.d test into diag12312.d. * 3 pragma(mangle) errors * Fix line no
20 lines
415 B
C
20 lines
415 B
C
/* TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fix22104.c(103): Error: variable `fix22104.test1.array1` - incomplete array type must have initializer
|
|
fail_compilation/fix22104.c(108): Error: variable `fix22104.test2.array2` - incomplete array type must have initializer
|
|
---
|
|
*/
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=22104
|
|
|
|
#line 100
|
|
|
|
void test1()
|
|
{
|
|
static int array1[][4];
|
|
}
|
|
|
|
void test2()
|
|
{
|
|
int array2[][4];
|
|
}
|