gcc/testsuite/gdc.test/fail_compilation/b20780.d
raw| 1 | /* |
| 2 | TEST_OUTPUT: |
| 3 | --- |
| 4 | fail_compilation/b20780.d(10): Error: `@identifier` or `@(ArgumentList)` expected, not `@)` |
| 5 | fail_compilation/b20780.d(11): Error: `@identifier` or `@(ArgumentList)` expected, not `@,` |
| 6 | fail_compilation/b20780.d(11): Error: basic type expected, not `,` |
| 7 | --- |
| 8 | */ |
| 9 | |
| 10 | void f(@){} |
| 11 | void g(@,){} |