blob: 1d0e122c29e7184e43ffeb13e663c21ea0a825e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ %FAIL }
{ inside a helper's declaration the methods/fields of the extended class can't
be accessed }
program tchlp9;
{$ifdef fpc}
{$mode delphi}
{$endif}
type
TTest = class
Test: Integer;
function GetTest: Integer;
end;
TTestHelper = class helper for TTest
property AccessTest: Integer read Test;
end;
begin
end.
|