Jonas Maebe 20 年之前
父节点
当前提交
08ce8f4a0e
共有 1 个文件被更改,包括 21 次插入0 次删除
  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.
+