Bug 10341 – Range case without an associated switch statement crashes DMD
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-12T01:16:00Z
Last change time
2013-06-13T17:34:07Z
Keywords
ice, pull
Assigned to
andrej.mitrovich
Creator
iselix1988+dbugzilla
Comments
Comment #0 by iselix1988+dbugzilla — 2013-06-12T01:16:49Z
Range case sentence at out of switch block crashes dmd compiler by Segmentation fault.
See code below:
---
void main(){
case 1: .. case 2: // dmd crashes by Segmentation fault
}
---
Comment #1 by andrej.mitrovich — 2013-06-12T05:47:53Z