d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / ice9013.d
blob47a451b550489a581b743146be42637f6d7ad4b9
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice9013.d(9): Error: undefined identifier `missing`
5 ---
6 */
7 void main()
9 foreach (i; 0 .. missing)
10 int[] foo = cast(int[])[i];