summaryrefslogtreecommitdiff
path: root/tests/test/tgeneric42.pp
blob: 092a0cb69858a3f1b6e575f13eb771dab2a9802b (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
{ %NORUN }

{ in mode Delphi generic types might be overloaded - here: class only
  Note: This tests a different code path than in the compiler than tgeneric36! }
program tgeneric42;

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

type
  TTest<T> = class

  end;

  TTest = class

  end;

  TTest<T, S> = class

  end;

begin

end.