diff options
Diffstat (limited to 'js/src/jit-test/tests/basic/testBug474769.js')
-rw-r--r-- | js/src/jit-test/tests/basic/testBug474769.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/testBug474769.js b/js/src/jit-test/tests/basic/testBug474769.js new file mode 100644 index 000000000..54dc1f44a --- /dev/null +++ b/js/src/jit-test/tests/basic/testBug474769.js @@ -0,0 +1,10 @@ +delete b; +delete q; + +for each (testBug474769_b in [1, 1, 1, 1.5, 1, 1]) { + (function() { for each (let testBug474769_h in [0, 0, 1.4, ""]) {} })() +} +function testBug474769() { + return testBug474769_b; +} +assertEq(testBug474769(), 1); |