summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-821551.js
blob: 44a6df71385bdecdb7a3e6c70052ecf438bb4022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function g() {
    z = newGlobal('');
    return function(code) {
        evalcx(code, z)
    }
}
f = g();
f("\
    for (var x = 0; x < 1; ++x) {\
        a = x;\
    }\
");
f("a in eval");