Source

gdc / gdc.test / fail_compilation / fail4375e.d

Full commit
Daniel Green b6fdbee 









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

void main() {
    version (A)
        if (true)
            assert(24);
    else
        assert(25);
}