summaryrefslogtreecommitdiff
path: root/tests/test/tgeneric44.pp
blob: 00374bf657c1c7acb95a9afb4e3bdf7af5d9451c (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: interface only
  Note: This tests a different code path than in the compiler than tgeneric38! }
program tgeneric44;

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

type
  TTest<T> = interface

  end;

  TTest = interface

  end;

  TTest<T, S> = interface

  end;

begin

end.