[Issue 22857] New: Segfault for malformed static if in imported template
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 7 16:31:15 UTC 2022
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: nobody at puremagic.com
Reporter: moonlightsentinel at disroot.org
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
}
--
More information about the Digitalmars-d-bugs
mailing list