1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/basic/timeout-check.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +// |jit-test| exitstatus: 6 1.5 +function f(x) { 1.6 + if (x === 0) 1.7 + return; 1.8 + f(x - 1); 1.9 + f(x - 1); 1.10 + f(x - 1); 1.11 + f(x - 1); 1.12 + f(x - 1); 1.13 + f(x - 1); 1.14 +} 1.15 +timeout(0.1); 1.16 +f(100); 1.17 +assertEq(0, 1);