← Back to index
|
Original Bugzilla link
Bug 24115 – No runtime crash on use of a noreturn template argument
Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-08-27T07:59:27Z
Last change time
2023-08-27T08:18:35Z
Keywords
wrong-code
Assigned to
No Owner
Creator
Basile-z
See also
https://issues.dlang.org/show_bug.cgi?id=24114
Comments
Comment #0
by b2.temp — 2023-08-27T07:59:27Z
For the following code there's no runtime crash ``` int v(e)() { return e + 0; } int main() { return v!(noreturn)(); } ```