summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testInnerTreeMutatingUpvars.js
blob: 97502f83648b434158f950007badab1894ed9596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function f() {
    for (var a = 0; a < 8; ++a) {
        (function () {
            var x;
            for (var b = 0; b < 8; ++b) {
                x = 0;
                (function () {
                    for (var i = 0; i < 1; ++i) {
                        x = 1;
                    }
                })();
                x++;
            }
        })();
    }
}
f();