summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug462388.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/basic/testBug462388.js')
-rw-r--r--js/src/jit-test/tests/basic/testBug462388.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/testBug462388.js b/js/src/jit-test/tests/basic/testBug462388.js
new file mode 100644
index 000000000..7af29cbe4
--- /dev/null
+++ b/js/src/jit-test/tests/basic/testBug462388.js
@@ -0,0 +1,6 @@
+//test no multitrees assert
+function testBug462388() {
+ var c = 0, v; for each (let x in ["",v,v,v]) { for (c=0;c<4;++c) { } }
+ return true;
+}
+assertEq(testBug462388(), true);