summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug684362.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/bug684362.js')
-rw-r--r--js/src/jit-test/tests/ion/bug684362.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug684362.js b/js/src/jit-test/tests/ion/bug684362.js
new file mode 100644
index 0000000000..9a83b053d7
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug684362.js
@@ -0,0 +1,14 @@
+// vim: set ts=8 sts=4 et sw=4 tw=99:
+function f(a) {
+ var k = a;
+ T: for (;;) {
+ for (;;) {
+ for (;;) {
+ if (k)
+ continue;
+ break T;
+ }
+ }
+ }
+}
+f(0);