1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/ion/bug862100.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 + 1.5 +function TestCase(n, d, e, a) {} 1.6 +function reportCompare (expected, actual, description) { 1.7 + new TestCase("", description, expected, actual); 1.8 +} 1.9 +new TestCase( "", "", 0, Number(new Number()) ); 1.10 +reportCompare(true, true); 1.11 +evaluate("\ 1.12 +function TestCase(n, d, e, a) {}\ 1.13 +test_negation(-2147483648, 2147483648);\ 1.14 +test_negation(2147483647, -2147483647);\ 1.15 +function test_negation(value, expected)\ 1.16 + reportCompare(expected, '', '-(' + value + ') == ' + expected);\ 1.17 +");