소스 검색

* 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.