fpc/tests/tbs/tb0413.pp
peter 594c8943eb * new bugs
* added $mode fpc
2005-04-04 16:29:44 +00:00

23 lines
355 B
ObjectPascal

{$mode fpc}
var
s : ansistring;
ss : shortstring;
as : ansistring;
c : char;
begin
as:='ansistring';
ss:='shortstring';
c:='C';
s:=s+as;
s:=s+c;
s:=s+ss;
s:=s+s;
if s<>'ansistringCshortstringansistringCshortstring' then
begin
writeln('Problem with ansistring appending');
halt(1);
end;
end.