blob: 5ee3f5334ac8835ce219d7c5035345b9d17ad7b7 (
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
26
|
{ %FAIL }
{ class helpers can access (strict) protected, public and published members -
here: private }
program tchlp13;
{$ifdef fpc}
{$mode delphi}
{$endif}
uses
uchlp12;
type
TTestHelper = class helper for TTest
function AccessTest: Integer;
end;
function TTestHelper.AccessTest: Integer;
begin
Result := Test2;
end;
begin
end.
|