mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 10:19:28 +02:00
improved tb0625. boolean casting should disregard the upper bits
git-svn-id: trunk@35107 -
This commit is contained in:
parent
288a39d86e
commit
442cbed9ad
@ -20,4 +20,8 @@ begin
|
||||
b := Boolean(i);
|
||||
if not b then
|
||||
Halt(4);
|
||||
i := $ffffffffffffff00;
|
||||
b := Boolean(i);
|
||||
if b then
|
||||
Halt(5);
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user