summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug729797.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug729797.js')
-rw-r--r--js/src/jit-test/tests/auto-regress/bug729797.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug729797.js b/js/src/jit-test/tests/auto-regress/bug729797.js
new file mode 100644
index 0000000000..4d5c4512bf
--- /dev/null
+++ b/js/src/jit-test/tests/auto-regress/bug729797.js
@@ -0,0 +1,15 @@
+// |jit-test| error:InternalError
+
+// Binary: cache/js-dbg-64-5a04fd69aa09-linux
+// Flags: --ion-eager
+//
+
+var patterns = new Array();
+patterns[0] = '';
+test();
+function test() {
+ for (i in patterns) {
+ s = patterns[i];
+ status =(test)(s);
+ }
+}