mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-08 09:21:42 +01:00
of protected members called from a named class in a child class
that also has the visibility for those protected members
git-svn-id: trunk@4384 -
24 lines
228 B
ObjectPascal
24 lines
228 B
ObjectPascal
unit uw6922;
|
|
|
|
{$ifdef fpc}{$mode objfpc}{$H+}{$endif}
|
|
|
|
interface
|
|
|
|
type
|
|
|
|
{ TA }
|
|
|
|
TA = class
|
|
private
|
|
FT: string;
|
|
protected
|
|
property T: string read FT write FT;
|
|
end;
|
|
|
|
TB = class(TA)
|
|
end;
|
|
|
|
implementation
|
|
|
|
end.
|