← Back to index
|
Original Bugzilla link
Bug 7392 – ICE(symbol.c) on invalid nested case statement
Status
RESOLVED
Resolution
DUPLICATE
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-01-28T08:10:00Z
Last change time
2016-10-07T09:47:26Z
Keywords
ice, ice-on-invalid-code
Assigned to
nobody
Creator
timon.gehr
Comments
Comment #0
by timon.gehr — 2012-01-28T08:10:30Z
The following invalid code crashes DMD 2.058head void main(){ int x; switch(x){ foreach(y;[1,2,3]){ case y: break; } default: break; } } Internal error: backend/symbol.c 1032
Comment #1
by safety0ff.bugz — 2015-04-19T05:04:19Z
*** Issue 12920 has been marked as a duplicate of this issue. ***
Comment #2
by mk — 2016-10-07T09:47:26Z
*** This issue has been marked as a duplicate of issue 16523 ***