gcc/testsuite/gdc.test/fail_compilation/fail4269e.d
raw| 1 | /* |
| 2 | TEST_OUTPUT: |
| 3 | --- |
| 4 | fail_compilation/fail4269e.d(10): Error: semicolon needed to end declaration of `Y` instead of `X5` |
| 5 | fail_compilation/fail4269e.d(10): Error: variable name expected after type `X5`, not `;` |
| 6 | --- |
| 7 | */ |
| 8 | |
| 9 | static if(is(typeof(X5.init))) {} |
| 10 | typedef Y X5; |
| 11 | |
| 12 | void main() {} |