d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / gag4269d.d
blobbdfabaecc9e72c10bc4045fa372fce2150a5a170
1 // REQUIRED_ARGS: -c -o-
2 /*
3 TEST_OUTPUT:
4 ---
5 fail_compilation/gag4269d.d(10): Error: undefined identifier `Y4`, did you mean function `X4`?
6 ---
7 */
9 static if(is(typeof(X4.init))) {}
10 Y4 X4() { return typeof(return).init; }