diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/bug774644.js')
-rw-r--r-- | js/src/jit-test/tests/ion/bug774644.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug774644.js b/js/src/jit-test/tests/ion/bug774644.js new file mode 100644 index 000000000..b5a38b5ed --- /dev/null +++ b/js/src/jit-test/tests/ion/bug774644.js @@ -0,0 +1,10 @@ +// |jit-test| error: ReferenceError +function YearFromTime() {} +addTestCase(); +function addTestCase() { + var start = -62126352000000; + YearFromTime(); + var stop = -62094729600000; + for (var d = start; d < stop; d >>= 86400000) + new TestCase(); +} |