mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 08:49:38 +02:00
+ bug0303
This commit is contained in:
parent
c7bd16d127
commit
d28395e01f
21
bugs/bug0303.pp
Normal file
21
bugs/bug0303.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.
|
@ -392,3 +392,4 @@ Unfixed bugs:
|
||||
bug0262.pp problems with virtual and overloaded methods
|
||||
bug0293.pp no error with variable name = type name
|
||||
bug0299.pp passing Array[0..1] of char by value to proc leads to problems
|
||||
bug0303.pp One more InternalError(10) out of register !
|
||||
|
Loading…
Reference in New Issue
Block a user