]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gdc.test/fail_compilation/test8751.d
d: Synchronize testsuite with upstream dmd
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / test8751.d
CommitLineData
7da827c9
IB
1/*
2TEST_OUTPUT:
3---
4fail_compilation/test8751.d(7): Error: undefined identifier `Bar`
5---
6*/
b4c522fa
IB
7Bar foo3(ref const int x) pure {
8 return y => x > y; // error
9}