mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 17:48:53 +02:00
27 lines
276 B
ObjectPascal
27 lines
276 B
ObjectPascal
{ %NORUN }
|
|
{ %OPT=-Sew }
|
|
|
|
program tb0697;
|
|
|
|
{ $P is now a local switch; compatible to Delphi }
|
|
|
|
{$V+}
|
|
{$P-}
|
|
|
|
procedure Test(var aArg: ShortString);
|
|
begin
|
|
end;
|
|
|
|
{$P+}
|
|
|
|
procedure Test2(var aArg: ShortString);
|
|
begin
|
|
end;
|
|
|
|
var
|
|
s: String[5];
|
|
begin
|
|
s := 'Test';
|
|
Test2(s);
|
|
end.
|