Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.0.0 / tests / webtbf / tw9225.pp
Size: Mime:
{ %fail }
{$mode objfpc}{$H+}

type
  generic TGenMap<T> = class(TObject)
    function Add(const AKey: T): T;
  end;

function TGenMap.Add(const AKey: T): T;
begin
end;

var
  a: TGenMap;
begin
  a := TGenMap.Create;

  a.Add(5);

  a.Free;
end.