[Issue 23873] New: [ICE] segfault on imported `static if ; else auto x`
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 1 23:25:56 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23873
Issue ID: 23873
Summary: [ICE] segfault on imported `static if ; else auto x`
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: d.bugs at webfreak.org
foo.d
```
struct Foo
{
import bar;
}
```
bar.d
```
static if ;
else auto x
```
interesting note: if `Foo` is a function and not an aggregate type, this
doesn't ICE.
--
More information about the Digitalmars-d-bugs
mailing list