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

           Summary: crash exiting main() without result code
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: and...@metalanguage.com


int main(string[] args)
{
    try {} catch(Exception) { return 1; }
}

Running this program will cause a segmentation fault. Adding a return 0; at the
end fixes it.

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

Reply via email to