http://d.puremagic.com/issues/show_bug.cgi?id=3488
Summary: Segfault(expression.c): enum declared with struct
initializer in template
Product: D
Version: 2.036
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Don <[email protected]> 2009-11-08 08:30:45 PST ---
Reported by g in d.learn.
Segfaults in expression.c. D2 only.
--
struct Move{
int Dx;
}
template genMove(){
enum Move genMove = { Dx:4 };
}
enum Move b = genMove!();
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------