summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/uchlp18.pp
blob: 1de523d50905ea2e8e6866b16634a72c48ca97f3 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
unit uchlp18;

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

interface

type
  TTest1 = class
  end;

  TTest2 = class
  end;

  TTest3 = class
  end;

  TTest4 = class
  end;

  TTest5 = class
  end;

  TTest6 = class
  end;

{$M+}
  TTestHub = class
  strict private
    type
      TTest1Helper = class helper for TTest1
        procedure Test;
      end;
  private
    type
      TTest2Helper = class helper for TTest2
        procedure Test;
      end;
  strict protected
    type
      TTest3Helper = class helper for TTest3
        procedure Test;
      end;
  protected
    type
      TTest4Helper = class helper for TTest4
        procedure Test;
      end;
  public
    type
      TTest5Helper = class helper for TTest5
        procedure Test;
      end;
  published
    type
      TTest6Helper = class helper for TTest6
        procedure Test;
      end;
  end;
{$M-}

implementation

procedure TTestHub.TTest1Helper.Test;
begin

end;

procedure TTestHub.TTest2Helper.Test;
begin

end;

procedure TTestHub.TTest3Helper.Test;
begin

end;

procedure TTestHub.TTest4Helper.Test;
begin

end;

procedure TTestHub.TTest5Helper.Test;
begin

end;

procedure TTestHub.TTest6Helper.Test;
begin

end;

end.