summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testBug1236484.js
blob: 61a8b49dc5efe2986ff76a7a5872ea2728499bec (plain)
1
2
3
4
5
6
7
8
9
10
var lfcode = new Array();
lfcode.push("gczeal(2, 1);");
lfcode.push(`
function test(stdlib, foreign) {
    "use asm"
    function f(y) {}
    return f
}`);
for (var i = 0; i < 2; ++i)
    evaluate(lfcode.shift());