]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/fail_compilation/diag11198.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / diag11198.d
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/diag11198.d(11): Error: version conditions can only be declared at module scope
5 fail_compilation/diag11198.d(12): Error: debug conditions can only be declared at module scope
6 ---
7 */
8
9 void main()
10 {
11 version = blah;
12 debug = blah;
13 }