summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbf/tw14929a.pp
blob: 722dd175b045239684c1c5f8f56d4908132d18ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ %fail }

{$mode tp}
{$p-}

var
  s: string[4];

procedure test(var s: shortstring);
begin
  s:='12345678';
end;

begin
  test(s);
  writeln(s);
end.