Browse Source

* fixed test for 64 bit platforms

git-svn-id: trunk@10454 -
Jonas Maebe 17 năm trước cách đây
mục cha
commit
1885e247b4
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      tests/webtbs/tw10931.pp

+ 4 - 0
tests/webtbs/tw10931.pp

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