Browse Source

* 12345678901234567890>high(int64), therefore int64var=12345678901234567890 always
evaluates to false. Remove 1 digit to get the value below high(int64).

git-svn-id: trunk@7636 -

daniel 18 years ago
parent
commit
a0d601cfe7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/test/tprec8.pp

+ 2 - 2
tests/test/tprec8.pp

@@ -19,7 +19,7 @@ var
   r: tr;
 begin
   r.a := 2;
-  r.i := 12345678901234567890;
+  r.i := 1234567890123456789;
   r.c := true;
   r.d := 5;
   r.e := ed;
@@ -33,7 +33,7 @@ begin
   b := 0;
   t(r);
   if (r.a <> 2) or
-     (r.i <> 12345678901234567890) or
+     (r.i <> 1234567890123456789) or
      (not r.c) or
      (r.d <> 5) or
      (r.e <> ed) then