mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-03 07:46:05 +01:00
38 lines
384 B
ObjectPascal
38 lines
384 B
ObjectPascal
{ %norun }
|
|
{ %OPT=-Sen }
|
|
|
|
unit tw5100;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
type
|
|
|
|
{ TA }
|
|
|
|
TA = class
|
|
private
|
|
FT: string;
|
|
protected
|
|
property T: string read FT write FT;
|
|
end;
|
|
|
|
TB = class
|
|
private
|
|
FT: string;
|
|
property T: string read FT write FT;
|
|
protected
|
|
procedure test;
|
|
end;
|
|
|
|
implementation
|
|
|
|
procedure tb.test;
|
|
begin
|
|
writeln(t);
|
|
end;
|
|
|
|
end.
|
|
|