mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
13 lines
171 B
D
13 lines
171 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/ice8604.d(9): Error: undefined identifier `i`
|
|
---
|
|
*/
|
|
struct StructFoo
|
|
{
|
|
static if(i) { }
|
|
else enum z = "";
|
|
}
|
|
|
|
void main() { }
|