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

load(libdir + "asm.js");

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