blob: 7f9bb9b82b760bee675a22d794ba14ed28431683 [file] [log] [blame]
//@ runNoFTL
function foo() {
return [[1,2,3], [5,6,6]];
}
function bar() {
return ["foo", "bar"];
}
function baz() {
return [foo(), bar(), foo(), bar()];
}
function thingy() {
var result = [];
for (var i = 0; i < 50000; ++i)
result.push(baz());
return result;
}
var size = thingy().length;
if (size != 50000)
throw "Error: bad size: " + size;