Source

gdc / gdc.test / fail_compilation / fail4375o.d

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

void main() {
    if (true)
        for (; false;)
            if (true)
                assert(82);
    else
        assert(83);
}