https://issues.dlang.org/show_bug.cgi?id=21792
Issue ID: 21792
Summary: Enum using itself as base type crashes dmd
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 makes dmd crash with a stack overflow:
enum Bar : Bar
{
a
}
--
