summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug743099.js
blob: 3b37994ac5bc663218c39b65c351e64fbd154db9 (plain)
1
2
3
4
5
6
7
8
9
function Day( t ) {}
function WeekDay( t ) {
  var weekday = (Day(t)+4) % 7;
  return( weekday < 0 ? 7 + weekday : weekday );
}
var expect = 'No Error';
for (var i = 0; i < 50; i++) {
    var [] = [expect ? WeekDay(i.a) : true], uneval;
}