浏览代码

* run test only if the platform supports the extended type

git-svn-id: trunk@17325 -
florian 14 年之前
父节点
当前提交
a31c879e7b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tests/webtbs/tw19077.pp

+ 2 - 0
tests/webtbs/tw19077.pp

@@ -3,11 +3,13 @@ uses
 var
   c : currency;
 begin
+{$ifdef FPC_HAS_TYPE_EXTENDED}
   c:=1.5625;
   c:=RoundTo(c,-1);
   if c<>1.6 then
     halt(1);
   writeln('ok');
+{$endif FPC_HAS_TYPE_EXTENDED}
 end.