blob: e3bfd1afd71446384ec4271fc4fc1034b289de86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ Source provided for Free Pascal Bug Report 3697 }
{ Submitted by "Matthias Hryniszak" on 2005-02-26 }
{ e-mail: matthias@hryniszak.de }
uses
{$ifdef unix}cwstring, {$endif}SysUtils;
var
S: WideString;
begin
S := WideFormat('Test %s', ['string']);
if s<>'Test string' then
halt(1);
writeln('ok');
end.
|