summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/trhlp21.pp
blob: 17fa641623473279137bb8a10e7f743aaf38f2e7 (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
27
{ %NORUN }

{ although records can't have (strict) protected, record helpers can }
program trhlp21;

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

type
  TTest = record

  end;

  TTestHelper = record helper for TTest
  protected
    procedure Test;
  end;

procedure TTestHelper.Test;
begin

end;

begin
end.