June 20, 2006 [Issue 214] New: seg-v from scope() in switch | ||||
---|---|---|---|---|
| ||||
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: } } -- |
January 23, 2007 [Issue 214] seg-v from scope() in switch | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=214 thomas-dloop@kuehne.cn changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from thomas-dloop@kuehne.cn 2007-01-23 06:05 ------- Marked this issue as the duplicate one because #729 has the test cases. *** This bug has been marked as a duplicate of 729 *** -- |
Copyright © 1999-2021 by the D Language Foundation