lazarus/components/codetools/tests/fpctests/tchlp14.pp
2015-10-18 22:27:22 +00:00

27 lines
396 B
ObjectPascal

{ %NORUN }
{ class helpers can access (strict) protected, public and published members -
here: strict protected }
program tchlp14;
{$ifdef fpc}
{$mode delphi}
{$endif}
uses
uchlp12;
type
TTestHelper = class helper for TTest
function AccessTest: Integer;
end;
function TTestHelper.AccessTest: Integer;
begin
Result := Test3{declaration:uchlp12.TTest.test3};
end;
begin
end.