summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/tw4058.pp
blob: 489e2a8c0da7ec4a5752a2066fe1c86e15e96283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{$q+}
program IntCalcBug;

var i, j1, j2 : LongInt;

begin
	i := 52000;
	j1 := 1440 - round (i/60);
	j2 := -round (i/60) + 1440;
        if (j1 <> j2) then
          halt(1);
end.