mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
12 lines
281 B
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() {}
|