[Issue 1800] New: Compiler crash on enums nested in structs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 23 02:58:30 PST 2008


http://d.puremagic.com/issues/show_bug.cgi?id=1800

           Summary: Compiler crash on enums nested in structs
           Product: D
           Version: 2.010
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: ludwig at informatik.uni-luebeck.de


If a nested enum with the type of the containing struct is declared, the
compiler crashes:

struct S {
  enum S some_constant = {0};

  int member;
}


-- 



More information about the Digitalmars-d-bugs mailing list