https://issues.dlang.org/show_bug.cgi?id=22857
Issue ID: 22857
Summary: Segfault for malformed static if in imported template
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
The following code segfaults when compiled as dmd -c -o- test.d
--- test.d
void isPrettyPropertyName()
{
import functional;
unaryFun!();
}
--- functional.d
template unaryFun()
{
static if
}
--
