Summary: switch case fall through crash
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD

--- Comment #0 from Robert Persson <> 2011-05-28 04:36:41 
PDT ---
The following code crashes when run on dmd 2.053. windbg.exe stays on line
"nop3" when debugged and then the program crashes.

int main(string[] argv)

    string a="test";
    string b="dummy";

    switch(b) {
        case "nop1": a="apples";
        case "nop2": a="oranges";
        case "nop3": a="bananas";

   return 0;

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to