blob: fb42c91a9e004d2d6fc0d4c31462cb514ae6db17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ %FAIL }
{ class helpers can access (strict) protected, public and published members -
here: strict private }
program tchlp12;
{$ifdef fpc}
{$mode delphi}
{$endif}
uses
uchlp12;
type
TTestHelper = class helper for TTest
function AccessTest: Integer;
end;
function TTestHelper.AccessTest: Integer;
begin
Result := Test1;
end;
begin
end.
|