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 / tbf / tb0015.pp
Size: Mime:
{ %FAIL }
{ Old file: tbf0097.pp }
{ two errors in bp7 but not in FPC                      OK 0.99.6 (FK) }

{
  This compiles fine with FPC, but not with Bp7 see 2 comments
}

type
  t=object
    s : string;      { No ; needed ? }
    procedure p;
  end;

  t2=object(t)
    procedure p1(p : string);
  end;

procedure t2.p1(p : string);

  begin
  end;

procedure t.p;

var
  s : longint;      { Not allowed with BP7 }
  x : longint;

procedure nested;

  var
     s : longint;

  begin
  end;

begin
end;


begin
end.