summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1871089.js
blob: 8abddb65744bde1ab36593aa59388f81fb28d62d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| --fast-warmup
var i = 0;
function a() {
    if (i++ > 50) {
        return;
    }
    function b() {
        new a("abcdefghijklm");
    }
    [new b];
}
gczeal(4);
a();