summaryrefslogtreecommitdiff
path: root/tests/test/tcpstr26.pp
blob: c473c8c1c709ee95e4427ed4a0bf6f45ba29f8d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{$ifdef fpc}
{$mode delphi}
{$endif}

procedure test(p: pchar); overload;
begin
  writeln('pchar');
end;

procedure test(p: pwidechar); overload;
begin
  writeln('pwidechar');
  halt(1);
end;

begin
  test('a');
end.