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



--- Comment #1 from yebblies <[email protected]> 2010-07-16 04:49:08 PDT ---
The following tests should succeed when this issue has been fixed:

unittest
{
    try
    {
        scope(success) assert(0);
        auto r1 = BigInt(6) % BigInt(0);
    } catch {}
    try
    {
        scope(success) assert(0);
        auto r1 = BigInt(6) % 0;
    } catch {}
    assert(BigInt(6) % BigInt(1) == 1);
    assert(BigInt(6) % 1 == 1);
    assert(BigInt(-6) % BigInt(-1) == -1);
    assert(BigInt(-6) % -1 == -1);
}

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

Reply via email to