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.2.0 / tests / test / trhlp22.pp
Size: Mime:
{ %NORUN }

{ although records can't use published members, record helpers can }
program trhlp22;

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

type
  TTest = record

  end;

{$M+}
  TTestHelper = record helper for TTest
  private
    function GetTest: Integer;
  published
    property Test: Integer read GetTest;
  end;
{$M-}

function TTestHelper.GetTest: Integer;
begin

end;

begin
end.