Browse Source

* procedure with the same name as a unit hides the unit

peter 22 years ago
parent
commit
e93e4e8210
2 changed files with 16 additions and 0 deletions
  1. 9 0
      tests/tbs/tb0440.pp
  2. 7 0
      tests/tbs/ub0440.pp

+ 9 - 0
tests/tbs/tb0440.pp

@@ -0,0 +1,9 @@
+uses ub0440;
+
+procedure ub0440;
+begin
+end;
+
+begin
+  ub0440;
+end.

+ 7 - 0
tests/tbs/ub0440.pp

@@ -0,0 +1,7 @@
+unit ub0440;
+interface
+const
+  a = 'test';
+  
+implementation
+end.