https://issues.dlang.org/show_bug.cgi?id=22739
Issue ID: 22739
Summary: Segmentation fault in CppMangleVisitor.headOfType
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
The following code results in a segmentation fault for DMD in
dmd.cppmangle.CppMangleVisitor.headOfType:
extern(C++) auto f(T)()
{
return T.init;
}
void main()
{
f!int;
}
--
