summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug939868.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/bug939868.js')
-rw-r--r--js/src/jit-test/tests/ion/bug939868.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug939868.js b/js/src/jit-test/tests/ion/bug939868.js
new file mode 100644
index 000000000..fbf7f03c4
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug939868.js
@@ -0,0 +1,3 @@
+function f(x, y) { return x || Math.fround(y); }
+assertEq(f(0, 0), 0);
+assertEq(f(0xfffffff, 0), 0xfffffff);