summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug740442.js
blob: 143ce2da968b3311b7768041ea3cea366ddd9e57 (plain)
1
2
3
4
5
6
7
8
9
10
11
function g1() {}
function g2() {
    return function Int8Array () {};
}
function f1(other) {
    eval("gc(); h = g1");
    for(var i=0; i<20; i++) {
        i = i.name;
    }
}
f1(g2);