+ bug0303

This commit is contained in:
pierre 1999-12-12 23:28:44 +00:00
parent c7bd16d127
commit d28395e01f
2 changed files with 22 additions and 0 deletions

21
bugs/bug0303.pp Normal file
View 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.

View File

@ -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 !