d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / test8751.d
blobd7057b89fc47b56fc5fe9fabe664fe7733946bf8
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/test8751.d(7): Error: undefined identifier `Bar`
5 ---
6 */
7 Bar foo3(ref const int x) pure {
8 return y => x > y; // error