1. Vincenzo Ampolo
  2. gdc

Source

gdc / gdc.test / fail_compilation / fail4375u.d

1
2
3
4
5
6
7
8
9
// REQUIRED_ARGS: -w
// 4375: Dangling else

static if (true)
    static if (false)
        struct G1 {}
else
    struct G2 {}