mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00

* Fix Bugzilla 24707 - error message has bad attribute order * Fix tests * Fix & split error test into 2 lines
12 lines
372 B
D
12 lines
372 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/auto_ref_inout.d(12): Error: template `f` is not callable using argument types `!()(int)`
|
|
fail_compilation/auto_ref_inout.d(10): Candidate is: `f(T)(auto ref inout T a, auto ref inout T b)`
|
|
---
|
|
*/
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=24707
|
|
auto ref inout(T) f(T)(auto ref inout T a, auto ref inout T b);
|
|
|
|
enum e = f(5);
|