summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/thlp1.pp
blob: 464b241e282fbd4163519b1504dbd13159f231c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ %NORUN }

{ tests the inheritance syntax of helpers }
program thlp1;

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

type
  TObjectHelper = class helper for TObject
  end;

  TObjectHelperSub = class helper(TObjectHelper) for TObject
  end;

begin
end.