2
0
Эх сурвалжийг харах

Merged revisions 325 via svnmerge from
/trunk

git-svn-id: branches/fixes_2_0@326 -

Jonas Maebe 20 жил өмнө
parent
commit
7656a2c6c0
2 өөрчлөгдсөн 13 нэмэгдсэн , 0 устгасан
  1. 1 0
      .gitattributes
  2. 12 0
      tests/webtbs/tw4058.pp

+ 1 - 0
.gitattributes

@@ -6122,6 +6122,7 @@ tests/webtbs/tw3973.pp svneol=native#text/plain
 tests/webtbs/tw3977.pp svneol=native#text/plain
 tests/webtbs/tw3977.txt svneol=native#text/plain
 tests/webtbs/tw4013.pp svneol=native#text/plain
+tests/webtbs/tw4058.pp svneol=native#text/plain
 tests/webtbs/ub1873.pp svneol=native#text/plain
 tests/webtbs/ub1883.pp svneol=native#text/plain
 tests/webtbs/uw0555.pp svneol=native#text/plain

+ 12 - 0
tests/webtbs/tw4058.pp

@@ -0,0 +1,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.