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

{ this tests that helpers can introduce class methods for classes - mode
  Delphi }
program tchlp2;

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

type
  TTest = class

  end;

  TTestHelper = class helper for TTest
    class procedure Test;
  end;

class procedure TTestHelper.Test;
begin

end;

begin
  TTest.Test;
end.