Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice11969.d(9): Error: undefined identifier `index`
5 fail_compilation/ice11969.d(10): Error: undefined identifier `cond`
6 fail_compilation/ice11969.d(11): Error: undefined identifier `msg`
7 ---
8 */
9 void test1() { mixin ([index]); }
10 void test2() { mixin (assert(cond)); }
11 void test3() { mixin (assert(0, msg)); }