fpc/tests/webtbs/tw1765.pp
2002-01-19 11:48:34 +00:00

14 lines
200 B
ObjectPascal

{$mode delphi}
type mytype=array[1..2] of string;
const myconst:mytype=('foo','bar');
procedure myproc(myparam:mytype);
begin
writeln(myparam[1],' ',myparam[2]);
end;
begin
myproc(myconst);
end.