d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / varargsstc.d
blobe040574d5b4de6356e2c5fb12b869ee73a4e0df7
1 /* TEST_OUTPUT:
2 ---
3 fail_compilation/varargsstc.d(102): Error: variadic parameter cannot have attributes `out ref`
4 ---
5 */
7 #line 100
9 int printf(const(char)*, const scope shared return ...);
10 int printf(const(char)*, ref out scope immutable shared return ...);