blob: 86220c8c3839e1b331b06e7d4eb815e73d6b2374 (
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
|
{ %NORUN }
{ This tests that methods introduced by a helper can be found in
with-Statements as well - Case 2: class method in current helper }
program trhlp43;
{$mode objfpc}
{$modeswitch advancedrecords}
type
TTest = record
end;
TTestHelper = record helper for TTest
class procedure Test; static;
end;
class procedure TTestHelper.Test;
begin
end;
begin
with TTest do
Test;
end.
|