mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 22:09:32 +02:00
bug0303 copied
This commit is contained in:
parent
d28395e01f
commit
116acd6f10
21
tests/tbs/tbs0303.pp
Normal file
21
tests/tbs/tbs0303.pp
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
type
|
||||||
|
intarray = array[1..1000,0..1] of longint;
|
||||||
|
|
||||||
|
procedure test;
|
||||||
|
var
|
||||||
|
ar : intarray;
|
||||||
|
i : longint;
|
||||||
|
procedure local;
|
||||||
|
begin
|
||||||
|
i:=4;
|
||||||
|
ar[i,0]:=56;
|
||||||
|
ar[i-1,0]:=pred(ar[i,0]);
|
||||||
|
end;
|
||||||
|
begin
|
||||||
|
local;
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
test;
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user