fpc/tests/webtbs/tw16668.pp
Jonas Maebe af15fa4ec4 * fixed test for 64 bit platforms
git-svn-id: trunk@15402 -
2010-06-10 12:00:03 +00:00

23 lines
248 B
ObjectPascal

{ %opt=-g-t }
program Project1;
{$mode objfpc}{$H+}
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
Foo;
end.