mirror of
https://github.com/dlang/dmd.git
synced 2025-04-28 22:20:37 +03:00

This should nudge people into using '-preview=in' and clear up the remaining projects which are incompatible with it.
10 lines
326 B
D
10 lines
326 B
D
/*
|
|
REQUIRED_ARGS: -de
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/deprecatedinref.d(9): Deprecation: using `in ref` is deprecated, use `-preview=in` and `in` instead
|
|
fail_compilation/deprecatedinref.d(10): Deprecation: using `ref in` is deprecated, use `-preview=in` and `in` instead
|
|
---
|
|
*/
|
|
void foo(in ref int);
|
|
void foor(ref in int);
|