소스 검색

+ Added bug #186

michael 27 년 전
부모
커밋
7d5cd410ba
2개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  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.