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

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);