mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 05:39:09 +02:00
* fixed test for 64 bit platforms
git-svn-id: trunk@15402 -
This commit is contained in:
parent
20823eb4e4
commit
af15fa4ec4
@ -8,8 +8,13 @@ procedure Foo;
|
||||
var
|
||||
a: TObject;
|
||||
begin
|
||||
{$ifdef cpu32}
|
||||
if ptruint(a)<>$55555555 then
|
||||
halt(1);
|
||||
{$else}
|
||||
if ptruint(a)<>$5555555555555555 then
|
||||
halt(1);
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user