summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/tint2str2.pp
blob: c673b286401a32644b64de9705d4a6cacc78cd39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ %fail }

{$mode fpc}

procedure test(s: string);
begin
  halt(0);
end;

var
  l: longint;
begin
  l := 'abcd';
  test(l);
end.