summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testTimeout3.js
blob: 4f7df0a5e82be893403198316d87a673f4953c88 (plain)
1
2
3
4
5
6
7
8
// |jit-test| exitstatus: 6;

load(libdir + "asm.js");

var f = asmLink(asmCompile(USE_ASM + "function f(i) { i=i|0; if (!i) return; f((i-1)|0); f((i-1)|0); f((i-1)|0); f((i-1)|0); f((i-1)|0); } return f"));
timeout(1);
f(100);
assertEq(true, false);