* fixed test for 64 bit platforms

git-svn-id: trunk@10454 -
This commit is contained in:
Jonas Maebe 2008-03-07 09:15:03 +00:00
parent 914a8ec4b4
commit 1885e247b4

View File

@ -5,7 +5,11 @@ var
q: qword;
begin
a := not(ptruint(7));
{$ifdef cpu64}
if a<>ptruint($fffffffffffffff8) then
{$else}
if a<>$fffffff8 then
{$endif}
halt(1);
q := not(qword(7));
if q<>qword($fffffffffffffff8) then