summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug704795.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/basic/bug704795.js')
-rw-r--r--js/src/jit-test/tests/basic/bug704795.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/bug704795.js b/js/src/jit-test/tests/basic/bug704795.js
new file mode 100644
index 000000000..d39b6915c
--- /dev/null
+++ b/js/src/jit-test/tests/basic/bug704795.js
@@ -0,0 +1,13 @@
+Function("\
+ gczeal(4,false);\
+ function f(){\
+ \"use strict\";\
+ this.x = Object\
+ }\
+ for each(y in[0,0]){\
+ try{\
+ new f\
+ }\
+ catch(e){}\
+ }\
+")() \ No newline at end of file