gcc/testsuite/gdc.test/fail_compilation/varargsstc.d
raw| 1 | /* TEST_OUTPUT: |
| 2 | --- |
| 3 | fail_compilation/varargsstc.d(102): Error: variadic parameter cannot have attributes `out` |
| 4 | fail_compilation/varargsstc.d(103): Error: variadic parameter cannot have attributes `ref` |
| 5 | --- |
| 6 | */ |
| 7 | |
| 8 | #line 100 |
| 9 | |
| 10 | int printf(const(char)*, const scope shared return ...); |
| 11 | int printf(const(char)*, ref out scope immutable shared return ...); |
| 12 | int printf(const(char)*, ref scope immutable shared return ...); |