d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / diag15001.d
blob3763d795735788bbc07cc175f7570bacd2cbb49c
1 // REQUIRED_ARGS: -o-
2 /*
3 TEST_OUTPUT:
4 ---
5 fail_compilation/diag15001.d(11): Error: undefined identifier `X`
6 ---
7 */
9 void main()
11 if (X x = 1)