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 / tw3176.pp
Size: Mime:
{ Source provided for Free Pascal Bug Report 3176 }
{ Submitted by "Marcel Martin" on  2004-06-21 }
{ e-mail: mm10@ellipsa.net }
program test;
{$MODE OBJFPC}
{$GOTO ON}

label DONE1;
var i : Longint;
begin
  i := 0;
  try
    if i < 0 then goto DONE1;
    i := 1;

    //...

DONE1:
  finally
    i := 2;
  end;
  if i<>2 then
    halt(1);
end.
//DONE1:
//    begin end; <- inserting this line fixes the problem
//  finally