summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/tchlp4.pp
blob: cbcdef344012a568f1200b9467ec8bd719fc4702 (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
  ObjFPC }
program tchlp4;

{$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.