summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testTimeout1.js
blob: c1bc6a09df2f16f88860a8f2417c576b99700324 (plain)
1
2
3
4
5
6
7
8
// |jit-test| exitstatus: 6; skip-if: getBuildConfiguration()['wasi']

load(libdir + "asm.js");

var g = asmLink(asmCompile(USE_ASM + "function f() {} function g() { while(1) { f() } } return g"));
timeout(1);
g();
assertEq(true, false);