Explorar o código

* fixed for comp = int64

Jonas Maebe %!s(int64=22) %!d(string=hai) anos
pai
achega
416a3ad1d0
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      tests/webtbs/tw2129b.pp

+ 3 - 0
tests/webtbs/tw2129b.pp

@@ -23,11 +23,13 @@ it introduces a subtle incompatibility with Delphi.
 *)
 
 program fpc19;
+{ the same as tw2129.pp for cpu's were comp = int64 }
 var
   comp1 : comp;
   dbl1 : double;
   s : string;
 begin
+{$ifdef cpui386}
   dbl1 := -1e-128;
   comp1 := comp(dbl1);
   str(comp1,s);
@@ -36,4 +38,5 @@ begin
       writeln('error: ',s);
       halt(1);
     end;
+{$endif cpui386}
 end.