mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 00:19:24 +02:00
* rangecheck error when operands are widened
This commit is contained in:
parent
ed1c028250
commit
edb37d1a72
13
tests/tbs/tb0447.pp
Normal file
13
tests/tbs/tb0447.pp
Normal file
@ -0,0 +1,13 @@
|
||||
{$R+}
|
||||
var
|
||||
a : cardinal;
|
||||
b : longint;
|
||||
begin
|
||||
a := 0;
|
||||
b := -1;
|
||||
if a > b then
|
||||
writeln ('OK')
|
||||
else
|
||||
halt(1);
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user