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

* Use errorSupplemental for expected `}` following members error * Tweak declaration start message
15 lines
388 B
D
15 lines
388 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/diag13609a.d(16): Error: `}` expected following members in `struct` declaration
|
|
fail_compilation/diag13609a.d(15): struct starts here
|
|
fail_compilation/diag13609a.d(16): Error: `}` expected following members in `class` declaration
|
|
fail_compilation/diag13609a.d(11): class `C` starts here
|
|
---
|
|
*/
|
|
|
|
class C
|
|
{
|
|
void foo() {}
|
|
|
|
struct {
|