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 / webtbs / tw3796.pp
Size: Mime:
{ Source provided for Free Pascal Bug Report 3796 }
{ Submitted by "Antonio Marti" on  2005-03-15 }
{ e-mail: windowze2000@yahoo.es }
{
FAILS WITH: fpc -Mobjfpc test.pp
WHY? IS IT A BUG?
}
unit tw3796;

{$mode objfpc}

interface

uses objects;

type
  PType                 = ^TType;
  TType                 = object(TObject)
    private
      function IsEmpty: Boolean;
    public
      property Empty : Boolean Read IsEmpty;
  end;

implementation

function TType.IsEmpty: Boolean;
begin
  result:=True;
end;

end.