Browse Source

+ bug0303

pierre 26 years ago
parent
commit
d28395e01f
2 changed files with 22 additions and 0 deletions
  1. 21 0
      bugs/bug0303.pp
  2. 1 0
      bugs/readme.txt

+ 21 - 0
bugs/bug0303.pp

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

+ 1 - 0
bugs/readme.txt

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