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

{ helpers must not override virtual methods of the extended class }
program tchlp30;

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

type
  TTest = class
    function Test: Integer; virtual;
  end;

  TTestHelper = class helper for TTest
    function Test: Integer; override;
  end;

function TTest.Test: Integer;
begin

end;

function TTestHelper.Test: Integer;
begin

end;

begin

end.