Bug 14906 – dmd dumps core at incorrect enum declaration
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-08-11T16:35:00Z
Last change time
2017-07-22T12:36:26Z
Keywords
ice, pull
Assigned to
nobody
Creator
sdegtiarev
Comments
Comment #0 by sdegtiarev — 2015-08-11T16:35:45Z
dmd v2.067.1 dumps core at this simple code:
enum A; void f(A) {}
The enum declaration is obviously incorrect and wouldn't compile anyway.
However, dmd crashes at once with no error echoed.