summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/trhlp20.pp
blob: 06037f08d7f7014395a93e3270316c93aed00bdb (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
{ %NORUN }

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

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

type
  TTest = record

  end;

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

procedure TTestHelper.Test;
begin

end;

begin
end.