https://issues.dlang.org/show_bug.cgi?id=13569
Issue ID: 13569
Summary: Inconsistent integer divide by zero behavior and spec
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
From:
http://forum.dlang.org/thread/[email protected]
With linux, integer division by zero results in a core dump.
On windows, it results in an Error: object.Error@(0): Integer Division by 0
The spec says an Exception gets thrown.
http://dlang.org/expression#MulExpression
--