bug2007682.js (256B)
1 // |jit-test| --no-threads; --fast-warmup 2 3 function g(x) { 4 return x % 7; 5 } 6 function f() { 7 with ({}) {} // Don't compile with Ion. 8 for (var i = 0; i < 500; i++) { 9 if (i < 450) { 10 g(1); 11 } else { 12 assertEq(g(-7), -0); 13 } 14 } 15 } 16 f();