summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/tchlp26.pp
blob: bbfb632292676564eb86289796e9ae7a9e8d85ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ %FAIL }

{ a class helper can only inherit from another class helper }
program tchlp26;

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

type
  TTest = class

  end;

  TObjectHelper = class helper(TTest) for TObject
  end;

begin
end.