summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug678211.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/basic/bug678211.js')
-rw-r--r--js/src/jit-test/tests/basic/bug678211.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/bug678211.js b/js/src/jit-test/tests/basic/bug678211.js
new file mode 100644
index 000000000..6918be3fc
--- /dev/null
+++ b/js/src/jit-test/tests/basic/bug678211.js
@@ -0,0 +1,3 @@
+var g = newGlobal();
+g.eval("function f(n) { for (var i = 0; i < n; i++) f(0); }");
+g.f(10);