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

* Fix Issue 24000 - show open bracket "{" location for Error: matching `}` expected * Show unmatched brace after compound statement * Update tests
10 lines
204 B
D
10 lines
204 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/unmatchedbrace.d(11): Error: matching `}` expected, not `End of File`
|
|
fail_compilation/unmatchedbrace.d(8): unmatched `{`
|
|
---
|
|
*/
|
|
@safe {
|
|
//
|
|
struct S {}
|