Browse Source

+ Added bug #186

michael 27 years ago
parent
commit
7d5cd410ba
2 changed files with 10 additions and 0 deletions
  1. 9 0
      bugs/bug0186.pp
  2. 1 0
      bugs/readme.txt

+ 9 - 0
bugs/bug0186.pp

@@ -0,0 +1,9 @@
+  program bug0186;
+   var
+    endline:^integer;
+    line:array [1..endline^] of ^char;
+   begin
+    new (endline);
+    endline^:=5;  
+    endline^:=10;
+   end.

+ 1 - 0
bugs/readme.txt

@@ -247,3 +247,4 @@ bug0169.pp   missing new(type) support for not object/class
 bug0171.pp   missing typecasting in constant expressions
 bug0171.pp   missing typecasting in constant expressions
 bug0183.pp   internal error 10
 bug0183.pp   internal error 10
 bug0185.pp   missing range checking for Val and subrange types
 bug0185.pp   missing range checking for Val and subrange types
+bug0186.pp   Erroneous array syntax is accepted.