June 20, 2006
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
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 ***


--