summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/uw14124.pp
blob: 02e8d4290e7b577604283e7d6c064d49c4efc753 (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
unit uw14124;

{$mode objfpc}{$H+}

interface

type
  generic TGenericType<TParamType> = class
  private
    var
      FDefault: TParamType; static;
      F: TParamType;
  public
    procedure P;
  end;

implementation

procedure TGenericType.P;
begin
  F := FDefault; // <====== unit1.pas(21,16) Fatal: Internal error 200108121
end;

end.