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

{ record helpers may only inherit from other record helpers }
program trhlp25;

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

type
  TTest = record

  end;

  TTestHelper = record helper(TTest) for TTest
  end;

begin
end.