mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 16:19:28 +02:00
+ New test. Already fixed by Peter
This commit is contained in:
parent
55eea27447
commit
e4bb7935d1
17
tests/webtbs/tw3272.pp
Normal file
17
tests/webtbs/tw3272.pp
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
var i: integer;
|
||||||
|
err : boolean;
|
||||||
|
begin
|
||||||
|
for i:= -1 to -2 do
|
||||||
|
begin
|
||||||
|
writeln (i);
|
||||||
|
err:=true;
|
||||||
|
end;
|
||||||
|
writeln;
|
||||||
|
for i:= 1 to 0 do
|
||||||
|
begin
|
||||||
|
writeln (i);
|
||||||
|
err:=true;
|
||||||
|
end;
|
||||||
|
if err then
|
||||||
|
halt(1);
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user