Jonas Maebe 20 lat temu
rodzic
commit
08ce8f4a0e
1 zmienionych plików z 21 dodań i 0 usunięć
  1. 21 0
      tests/webtbf/tw3738.pp

+ 21 - 0
tests/webtbf/tw3738.pp

@@ -0,0 +1,21 @@
+{ %fail }
+
+program fjf775a;
+
+type
+  a = object
+    f: Integer
+  end;
+
+  b = object (a)
+    procedure p;
+  end;
+
+procedure b.p;
+begin
+  WriteLn (inherited f)  { WRONG }
+end;
+
+begin
+end.
+