summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-880886.js
blob: 2f83a2c637525ec894c167a8e79eacc8b3292731 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| error: too much recursion

function testUniqueness(asmJSModule) {
    var f = asmJSModule();
}
function lambda() {
    var x = function inner() { "use asm"; function g() {} return g };
    return lambda();
}
testUniqueness(lambda);