mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00

* Fix Bugzilla 24707 - error message has bad attribute order * Fix tests * Fix & split error test into 2 lines
12 lines
413 B
D
12 lines
413 B
D
/* TEST_OUTPUT:
|
|
---
|
|
fail_compilation/varargsstc.d(102): Error: variadic parameter cannot have attributes `out`
|
|
fail_compilation/varargsstc.d(103): Error: variadic parameter cannot have attributes `ref`
|
|
---
|
|
*/
|
|
|
|
#line 100
|
|
|
|
int printf(const(char)*, const scope shared return ...);
|
|
int printf(const(char)*, ref out scope immutable shared return ...);
|
|
int printf(const(char)*, ref scope immutable shared return ...);
|