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 / tw14729.pp
Size: Mime:
{ %opt=-gw}
{ %interactive }
{$mode objfpc}

{
1) check that all fields/procedures are shown in the correct visibility section
   when doing "ptype TC"
2) check that "ptype TOBJECT" shows TOBJECT's methods even if the system
   unit is not compiled with debuginfo
}

type
  tc = class
   private
    f: longint;
    procedure priv(a: longint);
   protected
    d: byte;
    procedure prot; virtual;
   public
    c: longint;
    procedure pub;
  end;

procedure tc.priv(a: longint);
begin
end;

procedure tc.prot;
begin
end;

procedure tc.pub;
begin
end;

procedure myproc(a,b,c: longint);
begin
end;


begin
end.