mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
12 lines
176 B
D
12 lines
176 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/bug4283.d(12): Error: declaration expected, not `}`
|
|
---
|
|
*/
|
|
|
|
template Foo(bool b) {
|
|
static if (b)
|
|
enum bool Foo = 1;
|
|
else
|
|
}
|