d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / ice8604.d
blob3c179982fd9501b2b58d67dcce45a362b8ac0ffc
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice8604.d(9): Error: undefined identifier `i`
5 ---
6 */
7 struct StructFoo
9 static if(i) { }
10 else enum z = "";
13 void main() { }