mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
9 lines
160 B
D
9 lines
160 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/test8751.d(7): Error: undefined identifier `Bar`
|
|
---
|
|
*/
|
|
Bar foo3(ref const int x) pure {
|
|
return y => x > y; // error
|
|
}
|