summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/sincos-abi-args-bug1534492.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/src/jit-test/tests/ion/sincos-abi-args-bug1534492.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/sincos-abi-args-bug1534492.js b/js/src/jit-test/tests/ion/sincos-abi-args-bug1534492.js
new file mode 100644
index 0000000000..8bf112b379
--- /dev/null
+++ b/js/src/jit-test/tests/ion/sincos-abi-args-bug1534492.js
@@ -0,0 +1,6 @@
+x = [0];
+for (let i = 0; i < 1; ++i) {
+ try {
+ Math.cos(x[0])(Math.sin(x[0]));
+ } catch (e) {}
+}