mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
17 lines
440 B
D
17 lines
440 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/diag11198.d(13): Error: version `blah` declaration must be at module level
|
|
fail_compilation/diag11198.d(14): Error: debug `blah` declaration must be at module level
|
|
fail_compilation/diag11198.d(15): Error: identifier expected, not `""`
|
|
fail_compilation/diag11198.d(16): Error: identifier expected, not `""`
|
|
---
|
|
*/
|
|
|
|
void main()
|
|
{
|
|
version = blah;
|
|
debug = blah;
|
|
version = "";
|
|
debug = "";
|
|
}
|