[Issue 18305] SysTime crashes ctfe

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 26 16:07:49 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18305

--- Comment #1 from FeepingCreature <default_357-line at yahoo.de> ---
Shorter example:

union S {
    int a, b;
}

void main() {
    // compiles
    if (S.init is S.init) { }
    // doesn't compile
    mixin({ if (S.init is S.init) return ""; else return  ""; }());
}

--


More information about the Digitalmars-d-bugs mailing list