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
223 B
D
10 lines
223 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/missingbrace.d(11): Error: matching `}` expected following compound statement, not `End of File`
|
|
fail_compilation/missingbrace.d(9): unmatched `{`
|
|
---
|
|
*/
|
|
void main()
|
|
{
|
|
int a;
|