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 / tw3578.pp
Size: Mime:
{ Source provided for Free Pascal Bug Report 3578 }
{ Submitted by "Martin Schreiber" on  2005-01-21 }
{ e-mail:  }
program project1;

{$mode objfpc}{$H+}
uses
  Classes;

type
 widestringarty = array of widestring;

procedure proc(const ar1,ar2: array of widestring);
begin
end;

function getarray: widestringarty;
begin
 result:= nil;
end;

var
 ar1,ar2: widestringarty;
begin
 proc(ar1,ar2);            //ok
 proc(ar1,getarray);       //ok
 proc(getarray,ar2);       //ok
 proc(getarray,getarray);  //Internal error 9999
end.