mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 17:49:33 +02:00
30 lines
269 B
ObjectPascal
30 lines
269 B
ObjectPascal
{ %FAIL }
|
|
|
|
unit tw34691;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils;
|
|
|
|
type
|
|
{$M+}
|
|
TObjA = class
|
|
public
|
|
Icon: String;
|
|
end;
|
|
|
|
TObjB = class
|
|
FObjA: TObjA;
|
|
|
|
published
|
|
property Icon: String read FObjA.Icon;
|
|
end;
|
|
|
|
implementation
|
|
|
|
end.
|
|
|