mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-01 07:19:42 +02:00
* register as known v1.0 problems
This commit is contained in:
parent
d24fa6492c
commit
ecae861d6a
@ -1,3 +1,5 @@
|
|||||||
|
{ %KNOWNRUNERROR=201 v1.0 computes cardinal > longint as cardinal values }
|
||||||
|
|
||||||
{$R+}
|
{$R+}
|
||||||
var
|
var
|
||||||
a : cardinal;
|
a : cardinal;
|
||||||
|
22
tests/tbs/tb0447a.pp
Normal file
22
tests/tbs/tb0447a.pp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ %KNOWNRUNERROR=2 v10 computes cardinal > longint as cardinals }
|
||||||
|
{$R-}
|
||||||
|
var
|
||||||
|
a : cardinal;
|
||||||
|
b : longint;
|
||||||
|
begin
|
||||||
|
a := 0;
|
||||||
|
b := -1;
|
||||||
|
if a > b then
|
||||||
|
writeln ('OK')
|
||||||
|
else
|
||||||
|
{$ifdef VER0}
|
||||||
|
halt(2);
|
||||||
|
{$else not VER0}
|
||||||
|
{$ifdef VER1_0}
|
||||||
|
halt(2);
|
||||||
|
{$else}
|
||||||
|
halt(1);
|
||||||
|
{$endif}
|
||||||
|
{$endif}
|
||||||
|
end.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user