digitalmars.D.bugs - [Issue 24115] New: No runtime crash on use of a noreturn template
- d-bugmail puremagic.com (27/27) Aug 27 2023 https://issues.dlang.org/show_bug.cgi?id=24115
https://issues.dlang.org/show_bug.cgi?id=24115 Issue ID: 24115 Summary: No runtime crash on use of a noreturn template argument Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: wrong-code Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: b2.temp gmx.com For the following code there's no runtime crash ``` int v(e)() { return e + 0; } int main() { return v!(noreturn)(); } ``` --
Aug 27 2023