Source

gdc / gdc.test / fail_compilation / fail4375k.d

// REQUIRED_ARGS: -w
// 4375: Dangling else

void main() {
    mixin(q{
        if(true)
            if(true)
                assert(54);
        else
            assert(55);
    });
}