summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug743099.js
blob: 48bfffee4d93f65dfaf0190d810baa57233461f8 (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], print;
}