April 02, 2021
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: nobody@puremagic.com
          Reporter: moonlightsentinel@disroot.org

The following code makes dmd crash with a stack overflow:

enum Bar : Bar
{
    a
}

--