digitalmars.D.bugs - [Issue 214] New: seg-v from scope() in switch
- d-bugmail puremagic.com (23/23) Jun 20 2006 http://d.puremagic.com/issues/show_bug.cgi?id=214
- d-bugmail puremagic.com (10/10) Jan 23 2007 http://d.puremagic.com/issues/show_bug.cgi?id=214
http://d.puremagic.com/issues/show_bug.cgi?id=214 Summary: seg-v from scope() in switch Product: D Version: 0.161 Platform: PC OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: shro8822 uidaho.edu Unreachable scope statement in switch statement causes seg-v. void main() { switch(1) { // case 0: // compiles with this line scope(exit) *cast(int*)null = 0; default: } } --
Jun 20 2006
http://d.puremagic.com/issues/show_bug.cgi?id=214 thomas-dloop kuehne.cn changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE *** This bug has been marked as a duplicate of 729 *** --
Jan 23 2007