blob: ebefa4dc6af4a34c59241c85788393270f870c1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/*
TEST_OUTPUT:
---
fail_compilation/diag11198.d(11): Error: version conditions can only be declared at module scope
fail_compilation/diag11198.d(12): Error: debug conditions can only be declared at module scope
---
*/
void main()
{
version = blah;
debug = blah;
}
|