Explorar o código

+ test for publishing classref properties

Jonas Maebe %!s(int64=20) %!d(string=hai) anos
pai
achega
dacdc8c38f
Modificáronse 1 ficheiros con 17 adicións e 0 borrados
  1. 17 0
      tests/test/tclrprop.pp

+ 17 - 0
tests/test/tclrprop.pp

@@ -0,0 +1,17 @@
+{$mode delphi}
+
+type
+  tc = class
+  end;
+
+  tcc = class of tc;
+
+  tc1 = class
+   private
+    fa: tcc;
+   published
+    property pa: tcc read fa write fa;
+  end;
+
+begin
+end.