summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug695290.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug695290.js')
-rw-r--r--js/src/jit-test/tests/auto-regress/bug695290.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug695290.js b/js/src/jit-test/tests/auto-regress/bug695290.js
new file mode 100644
index 0000000000..0dff9c33e9
--- /dev/null
+++ b/js/src/jit-test/tests/auto-regress/bug695290.js
@@ -0,0 +1,11 @@
+// |jit-test| error:Error
+
+// Binary: cache/js-dbg-64-cf5da681d577-linux
+// Flags: -m -n -a
+//
+
+options("typeinfer");
+gczeal(2);
+var g = newGlobal();
+gcparam("maxBytes", 22000);
+let array = g.eval("new Array(1,2,3)");