diff options
Diffstat (limited to 'js/src/jit-test/tests/basic/bug646968-7.js')
-rw-r--r-- | js/src/jit-test/tests/basic/bug646968-7.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/bug646968-7.js b/js/src/jit-test/tests/basic/bug646968-7.js new file mode 100644 index 000000000..7fac119f5 --- /dev/null +++ b/js/src/jit-test/tests/basic/bug646968-7.js @@ -0,0 +1,10 @@ +load(libdir + "evalInFrame.js"); + +function test(s) { + eval(s); + { + let y = evalInFrame(0, '3'), x = x0; + assertEq(x, 5); + } +} +test('var x0= 5;'); |