August 18, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2290

           Summary: DMD segmentation fault for struct using enum that is
                    defined later
           Product: D
           Version: 2.018
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: benoit@tionex.de


struct Style {
    Access access;
}
enum Access : ubyte     {
    Read      = 0x01
}
void main(){
}

Moving the enum above the struct make the crash go away.
This worked with DMD 2.008 and starting with 2.009 DMD crashes.


-- 

August 19, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2290


schveiguy@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Comment #1 from schveiguy@yahoo.com  2008-08-19 09:04 -------
Added 2215 the last time I tried the D2 Tango port :)

*** This bug has been marked as a duplicate of 2215 ***


--