mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 22:49:34 +02:00
27 lines
247 B
ObjectPascal
27 lines
247 B
ObjectPascal
unit tw23653;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
|
|
type
|
|
generic TGClass<T> = class
|
|
procedure P;
|
|
end;
|
|
|
|
implementation
|
|
|
|
uses
|
|
gvector;
|
|
|
|
procedure TGClass.P;
|
|
type
|
|
TMyVector = specialize TVector<T>;
|
|
var
|
|
MyVector: TMyVector;
|
|
begin
|
|
end;
|
|
|
|
end.
|