mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 16:47:53 +02:00
27 lines
244 B
ObjectPascal
27 lines
244 B
ObjectPascal
unit uw4541;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes;
|
|
|
|
type
|
|
|
|
TA = class(TComponent)
|
|
D: TComponent;
|
|
end;
|
|
|
|
TB= class(TComponent)
|
|
private
|
|
FA: TA;
|
|
public
|
|
property C: TComponent read FA.D;
|
|
end;
|
|
|
|
implementation
|
|
|
|
end.
|
|
|