summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/tgeneric21.pp
blob: 2516814d42c78138a6f432199126b484a645bd69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ %fail }
{$mode objfpc}{$H+}

type
  generic TOuter<T> = class(TObject)
  public type
    generic TInner<U> = class(TObject)
    end;
  end;

begin
end.