summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testTimeout1.js
blob: df054357374d4d7478cb46076a81bc4eefb902e3 (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);