On Friday, 3 October 2014 at 12:31:54 UTC, Marc Schütz wrote:
test_int() and test_long() return ...nothing!

Note that they just return whatever is in eax/rax at that time, just like DMD returns a garbage value.

The fact that integer division by zero is undefined behavior on the LLVM side but defined in the D spec may well be an LDC bug, though.

David

Reply via email to