Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/fail7077.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail7077.d(11): Error: undefined identifier `x`
5 ---
6 */
7
8 void main()
9 {
10 if(0) mixin("auto x = 2;");
11 assert(x == 2);
12 }