summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/tw12249.pp
blob: e2edb46c24f2b29982caed46760fb10f5f365155 (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
{ %norun }

unit tw12249;

{$mode objfpc}{$H+}

interface

type

  { TG2 }

  generic TG2<T> = class
  public
    destructor Destroy; override;
  end;

implementation

{ TG2 }

destructor TG2.Destroy;
begin
  inherited Destroy;
end;

procedure P;
type 
  T = specialize TG2<Integer>;
begin
end;

end.