Browse Source

* run test only if the platform supports the extended type

git-svn-id: trunk@17325 -
florian 14 years ago
parent
commit
a31c879e7b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/webtbs/tw19077.pp

+ 2 - 0
tests/webtbs/tw19077.pp

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