[Issue 2290] New: DMD segmentation fault for struct using enum that is defined later
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 18 15:39:22 PDT 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 at digitalmars.com
ReportedBy: benoit at 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.
--
More information about the Digitalmars-d-bugs
mailing list