dmd/compiler/test/fail_compilation/ice11626.d
Mathias LANG 879e20f321
Deprecate 'in ref' to prepare for -preview=in (#14931)
This should nudge people into using '-preview=in' and clear up
the remaining projects which are incompatible with it.
2023-03-07 11:51:36 +02:00

8 lines
121 B
D

/*
TEST_OUTPUT:
---
fail_compilation/ice11626.d(8): Error: undefined identifier `Bar`
---
*/
void foo(const ref Bar) {}