mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 01:59:28 +02:00
17 lines
323 B
ObjectPascal
17 lines
323 B
ObjectPascal
{ 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.
|