fpc/bugs/bug0146.pp
1998-07-04 11:49:17 +00:00

12 lines
179 B
ObjectPascal

procedure myfunction(var t : array of char);
begin
writeln(sizeof(t)); { should be 51 }
end;
var
mycharstring : array[0..50] of char;
begin
myfunction(mycharstring);
end.