peter 25 years ago
parent
commit
9fb6725b8b
2 changed files with 11 additions and 0 deletions
  1. 10 0
      bugs/bug0310.pp
  2. 1 0
      bugs/readme.txt

+ 10 - 0
bugs/bug0310.pp

@@ -0,0 +1,10 @@
+procedure p(s:string);
+var
+  s : string;
+begin
+  writeln(s);
+end;
+
+begin
+  p('test');
+end.

+ 1 - 0
bugs/readme.txt

@@ -399,3 +399,4 @@ bug0293.pp   no error with variable name = type name
 bug0299.pp   passing Array[0..1] of char by value to proc leads to problems
 bug0299.pp   passing Array[0..1] of char by value to proc leads to problems
 bug0305.pp   Finally is not handled correctly after inputting 0
 bug0305.pp   Finally is not handled correctly after inputting 0
 bug0308a.pp  problem with objects that don't have VMT nor variable fields
 bug0308a.pp  problem with objects that don't have VMT nor variable fields
+bug0310.pp   local and para dup are not detected