[Issue 3077] New: crash exiting main() without result code
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jun 18 08:56:35 PDT 2009
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: nobody at puremagic.com
ReportedBy: andrei at 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: -------
More information about the Digitalmars-d-bugs
mailing list