summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug756919.js
blob: 9bb0d9a2ccb1cfb2408276079f3bc9f9ec1ea038 (plain)
1
2
3
4
5
6
7
8
9
function test(x) {
    var upvar = "";
    function f() { upvar += ""; }
    if (x > 0)
        test(x - 1);
    eval('');
}

oomTest(() => test(10));