blob: b6b0770543209217a302e3b81d5cd2f3105b6d19 (
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
29
30
31
32
33
34
35
36
|
{ %NORUN }
{ overloading needs to be enabled explicitly }
program tchlp33;
{$ifdef fpc}
{$mode delphi}
{$endif}
type
TTest = class
procedure Test(const aTest: String);
end;
TTestHelper = class helper for TTest
procedure Test; overload;
end;
procedure TTest.Test(const aTest: String);
begin
end;
procedure TTestHelper.Test;
begin
end;
var
t: TTest;
begin
t := TTest.Create;
t.Test;
t.Test('Foo');
end.
|