mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 20:09:23 +02:00
* 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 -
This commit is contained in:
parent
54fc70395e
commit
a0d601cfe7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user