mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
12 lines
467 B
D
12 lines
467 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail3673b.d(12): Error: basic type expected, not `if`
|
|
fail_compilation/fail3673b.d(12): Error: template constraints only allowed for templates
|
|
fail_compilation/fail3673b.d(12): Error: { } expected following `class` declaration
|
|
fail_compilation/fail3673b.d(12): Error: variable name expected after type `A`, not `{`
|
|
fail_compilation/fail3673b.d(12): Error: declaration expected, not `{`
|
|
---
|
|
*/
|
|
class A {}
|
|
class B : if(false) A { }
|