mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-26 14:33:41 +02:00
15 lines
257 B
ObjectPascal
15 lines
257 B
ObjectPascal
|
|
procedure myfunction(var t : array of char);
|
|
begin
|
|
writeln(sizeof(t)); { should be 51 }
|
|
if sizeof(t)<>51 then halt(1);
|
|
end;
|
|
|
|
var
|
|
mycharstring : array[0..50] of char;
|
|
|
|
begin
|
|
myfunction(mycharstring);
|
|
if sizeof(mycharstring)<>51 then halt(1);
|
|
end.
|