mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 17:28:05 +02:00
15 lines
236 B
ObjectPascal
15 lines
236 B
ObjectPascal
{$MODE DELPHI}
|
|
|
|
uses sysutils;
|
|
|
|
procedure tt (params : array of const);
|
|
begin
|
|
// this call generate Access violation
|
|
writeln (Format ('Params test %d', params));
|
|
end;
|
|
|
|
begin
|
|
writeln (Format ('First test %d', [1]));
|
|
tt ([1]);
|
|
end.
|