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

{ forward declarations are not allowed }
program thlp9;

{$ifdef fpc}
  {$mode objfpc}
{$endif}

type
  TObjectHelper = class helper;

  TObjectHelper = class helper for TObject
  end;

begin
end.