summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug646968-7.js
blob: 7fac119f565d221a127754308a228940f74390ee (plain)
1
2
3
4
5
6
7
8
9
10
load(libdir + "evalInFrame.js");

function test(s) {
    eval(s);
    {
      let y = evalInFrame(0, '3'), x = x0;
	    assertEq(x, 5);
    }
}
test('var x0= 5;');