[Issue 23950] Weird backend fail with noreturn type - cod1.d(4027): Assertion failure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 31 20:27:51 UTC 2023


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

--- Comment #1 from mail at ernestocastellotti.it ---
The absurd thing is that instead this code compiles and works correctly:

import core.stdc.stdlib;

void main() {
    auto foo = (false != true) && true || abort();
}


This looks just like a bad bug in the backend depending on what the code from
the frontend

--


More information about the Digitalmars-d-bugs mailing list