http://d.puremagic.com/issues/show_bug.cgi?id=4158

           Summary: switch segfault
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: k-fo...@onu.edu


--- Comment #0 from Kyle Foley <k-fo...@onu.edu> 2010-05-04 19:49:19 PDT ---
DMD 2.045

int main(string[] args)
{
    //switch (0) { } // segfaults
    switch (0) { case 0: }
    //switch (0) { case 1: } // segfaults
    switch (0) { case 1: default: }
    switch (0) { default: }

    return 0;
}

---

Seems to segfault when none of the labels inside the switch are jumped to.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to