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 / test / thlp28.pp
Size: Mime:
{ %FAIL }

{ a helper may not be defined as a generic type }
program thlp28;

{$ifdef fpc}
  {$mode delphi}
{$endif}

type
  TFoo = class

  end;

  TFooHelper<T> = class helper for TFoo
    function Test: T;
  end;

function TFooHelper<T>.Test: T;
begin

end;

begin

end.