mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 08:39:26 +02:00
20 lines
211 B
ObjectPascal
20 lines
211 B
ObjectPascal
{$ifdef unix}
|
|
uses
|
|
cwstring;
|
|
{$endif unix}
|
|
|
|
var
|
|
w : widestring;
|
|
a : ansistring;
|
|
|
|
begin
|
|
a:='A';
|
|
w:=a;
|
|
if w[1]<>#65 then
|
|
halt(1);
|
|
a:=w;
|
|
if a[1]<>'A' then
|
|
halt(1);
|
|
writeln('ok');
|
|
end.
|