summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/tw4533.pp
blob: 9f12be86c98f11f45da956ad9980ea8f58a39056 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{$mode objfpc}
{$openstrings+}
procedure t(out s: shortstring);
begin
  writeln(high(s));
  if high(s) <> 4 then
    halt(1);
end;

var
  s: string[4];
begin
  t(s);
end.