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
16 lines
348 B
D
16 lines
348 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/diag12312.d(10): Error: variable `diag12312.main.arr` of type `void[16]` does not have a default initializer
|
|
fail_compilation/diag12312.d(15): Error: variable `diag12312.bug1176.v` of type `void[1]` does not have a default initializer
|
|
---
|
|
*/
|
|
void main()
|
|
{
|
|
void[16] arr;
|
|
}
|
|
|
|
void bug1176()
|
|
{
|
|
void[1] v;
|
|
}
|