dmd/compiler/test/fail_compilation/fail4269e.d

12 lines
281 B
D

/*
TEST_OUTPUT:
---
fail_compilation/fail4269e.d(10): Error: semicolon needed to end declaration of `Y` instead of `X5`
fail_compilation/fail4269e.d(10): Error: variable name expected after type `X5`, not `;`
---
*/
static if(is(typeof(X5.init))) {}
typedef Y X5;
void main() {}