summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug622167.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug622167.js')
-rw-r--r--js/src/jit-test/tests/auto-regress/bug622167.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug622167.js b/js/src/jit-test/tests/auto-regress/bug622167.js
new file mode 100644
index 000000000..8ba412dfb
--- /dev/null
+++ b/js/src/jit-test/tests/auto-regress/bug622167.js
@@ -0,0 +1,26 @@
+// Binary: cache/js-dbg-64-fe4489fb36ab-linux
+// Flags:
+//
+function
+ eval( ) { eval();}
+try {
+DoWhile_3();
+} catch(e) {
+}
+function DoWhile_3() {
+ var result2 = "pass";
+woohooboy: {
+ eval('(function() { x getter= function(){} ; var x5, x = 0x99; })();');
+ }
+}
+test();
+function test()
+{
+ function foopy()
+ {
+ var f = function(){ r = arguments; test(); yield 170; }
+ try { for (var i in f()) { } } catch (iterError) { }
+ }
+ foopy();
+ gc();
+}