summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug690650.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug690650.js')
-rw-r--r--js/src/jit-test/tests/auto-regress/bug690650.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug690650.js b/js/src/jit-test/tests/auto-regress/bug690650.js
new file mode 100644
index 000000000..24f5cbcbd
--- /dev/null
+++ b/js/src/jit-test/tests/auto-regress/bug690650.js
@@ -0,0 +1,16 @@
+// Binary: cache/js-dbg-32-44ef245b8706-linux
+// Flags: -m -n -a
+//
+[].__proto__.__defineGetter__("", function() {});
+var tryCatch = " try{}catch(e){}";
+for (var i = 0; i < 13; ++i) {
+ tryCatch += tryCatch;
+}
+eval("\
+ (function() {\
+ for each(c in[0,0]){\
+" + tryCatch + "\
+ print\
+ }\
+ })\
+")()