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: nob...@puremagic.com
          Reporter: b2.t...@gmx.com

For the following code there's no runtime crash

```
int v(e)()
{
    return e + 0;
}

int main()
{
    return v!(noreturn)();
}  
```

--

Reply via email to