*** empty log message ***

This commit is contained in:
florian 2005-03-17 19:08:04 +00:00
parent ac95600774
commit 1872bac94a
2 changed files with 39 additions and 0 deletions

19
tests/test/twide1.pp Normal file
View File

@ -0,0 +1,19 @@
{$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.

20
tests/test/twide2.pp Normal file
View File

@ -0,0 +1,20 @@
{$ifdef UNIX}
uses
cwstring;
{$endif UNIX}
var
i : longint;
w,w2 : widestring;
a : ansistring;
begin
setlength(w,1000);
for i:=1 to 1000 do
w[i]:=widechar(i);
for i:=1 to 10 do
begin
a:=w;
w2:=a;
end;
end.