https://issues.dlang.org/show_bug.cgi?id=23930
Issue ID: 23930
Summary: assert(0) passed to function with noreturn parameter
causes segfault
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: ice-on-valid-code
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
```
void main() {
bar(assert(0));
}
void bar(noreturn) {}
```
With DMD 2.103.0 it also prints TYvoid.
--
