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: nob...@puremagic.com Reporter: d.b...@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. --