gcc/testsuite/gdc.test/fail_compilation/diag_template_alias.d
raw| 1 | /** |
| 2 | TEST_OUTPUT: |
| 3 | --- |
| 4 | fail_compilation/diag_template_alias.d(1): Error: identifier expected for template `alias` parameter |
| 5 | fail_compilation/diag_template_alias.d(1): Error: found `alias` when expecting `(` |
| 6 | fail_compilation/diag_template_alias.d(1): Error: semicolon expected following function declaration, not `(` |
| 7 | fail_compilation/diag_template_alias.d(1): Error: declaration expected, not `)` |
| 8 | --- |
| 9 | */ |
| 10 | #line 1 |
| 11 | void func1(alias alias)() {} |