Jonas Maebe 23 years ago
parent
commit
303ad8de46
1 changed files with 17 additions and 0 deletions
  1. 17 0
      tests/tbs/tb0404.pp

+ 17 - 0
tests/tbs/tb0404.pp

@@ -0,0 +1,17 @@
+type
+  G = object
+    public
+      B:procedure;
+    { the 1.1 compiler parses the next "public" as a procdirective of the preceding procedure }
+    public
+      constructor init;
+  end;
+
+  constructor G.init;
+    begin
+      B:=nil;
+    end;
+
+begin
+end.
+