mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 19:48:08 +02:00
24 lines
208 B
ObjectPascal
24 lines
208 B
ObjectPascal
{ %FAIL }
|
|
|
|
program tb0295;
|
|
|
|
{$V+}
|
|
{$P+}
|
|
|
|
procedure Test(var aArg: ShortString);
|
|
begin
|
|
end;
|
|
|
|
{$P-}
|
|
|
|
procedure Test2(var aArg: ShortString);
|
|
begin
|
|
end;
|
|
|
|
var
|
|
s: String[5];
|
|
begin
|
|
s := 'Foo';
|
|
Test2(s);
|
|
end.
|