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

{ This tests that methods introduced by a helper can be found in 
  with-Statements as well - Case 2: class method in current helper }
program trhlp43;

{$mode objfpc}
{$modeswitch advancedrecords}

type
  TTest = record
  end;

  TTestHelper = record helper for TTest
    class procedure Test; static;
  end;

class procedure TTestHelper.Test;
begin
end;

var
  T: TTest;
begin
  with T do
    Test;
end.