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

{ This tests that methods introduced by a helper can be found in 
  with-Statements as well - Case 1: normal method in current helper }
program tchlp55;

{$mode objfpc}

type
  TObjectHelper = class helper for TObject
    procedure Test;
  end;

procedure TObjectHelper.Test;
begin
end;

begin
  with TObject.Create do
    Test;
end.