mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 02:49:22 +02:00
* adapt test to range check
git-svn-id: trunk@6535 -
This commit is contained in:
parent
c5f685e72e
commit
d452839744
@ -103,6 +103,9 @@ Begin
|
|||||||
int64val := 1;
|
int64val := 1;
|
||||||
int64val := - int64val;
|
int64val := - int64val;
|
||||||
Write('Value should be -1...');
|
Write('Value should be -1...');
|
||||||
|
|
||||||
|
{ the following test give range check errors }
|
||||||
|
{$R-}
|
||||||
test(int64val and $FFFFFFFF, -1);
|
test(int64val and $FFFFFFFF, -1);
|
||||||
|
|
||||||
{ CURRENT NODE : REGISTER }
|
{ CURRENT NODE : REGISTER }
|
||||||
|
Loading…
Reference in New Issue
Block a user