improved tb0625. boolean casting should disregard the upper bits

git-svn-id: trunk@35107 -
This commit is contained in:
Károly Balogh 2016-12-11 13:26:04 +00:00
parent 288a39d86e
commit 442cbed9ad

View File

@ -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.