summaryrefslogtreecommitdiff
path: root/tests/test/tchlp27.pp
blob: d502ef869f83abae7a8a026dc3ad63ac5b58ad5d (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 }

{ a class helper must extend a subclass of the parent class helper }
program tchlp27;

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

type
  TTest1 = class

  end;

  TTest1Helper = class helper for TTest1
  end;

  TTest2 = class

  end;

  TTest2Helper = class helper(TTest1Helper) for TTest2
  end;

begin
end.