summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/tchlp37.pp
blob: f8aa52a64d166b4a5bceeb6ebac6677462807b74 (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
27
28
29
30
31
32
33
{ %NORUN }

{ helpers of a parent are available in a subclass as well }
program tchlp37;

{$ifdef fpc}
  {$mode delphi}
{$endif}
{$apptype console}

type
  TTest = class

  end;

  TTestSub = class(TTest)

  end;

  TTestHelper = class helper for TTest
    procedure Test;
  end;

procedure TTestHelper.Test;
begin

end;

var
  t: TTestSub;
begin
  t.Test;
end.