diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/bug1159899.js')
-rw-r--r-- | js/src/jit-test/tests/ion/bug1159899.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug1159899.js b/js/src/jit-test/tests/ion/bug1159899.js new file mode 100644 index 000000000..10d930f3b --- /dev/null +++ b/js/src/jit-test/tests/ion/bug1159899.js @@ -0,0 +1,5 @@ +function f(x) { + return ~~(x >>> 0) / (x >>> 0) | 0 +} +f(1) +assertEq(f(-1), 0); |