浏览代码

* fixed test for 64 bit platforms

git-svn-id: trunk@10454 -
Jonas Maebe 17 年之前
父节点
当前提交
1885e247b4
共有 1 个文件被更改,包括 4 次插入0 次删除
  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