summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1259490.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/gc/bug-1259490.js')
-rw-r--r--js/src/jit-test/tests/gc/bug-1259490.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/gc/bug-1259490.js b/js/src/jit-test/tests/gc/bug-1259490.js
new file mode 100644
index 000000000..063b4236e
--- /dev/null
+++ b/js/src/jit-test/tests/gc/bug-1259490.js
@@ -0,0 +1,9 @@
+try { eval("3 ** 4") } catch (e if e instanceof SyntaxError) { quit(); };
+eval(`
+
+gczeal(8);
+for (var k = 0; k < 99; ++k) {
+ uneval(-(0 ** (Object | 0 * Object)))
+}
+
+`)