* extend test a little bit to ensure that nested Concat() calls for strings work correctly

git-svn-id: trunk@37724 -
This commit is contained in:
svenbarth 2017-12-12 19:54:38 +00:00
parent 916ff0b92c
commit afa6d1bdb0

View File

@ -16,5 +16,8 @@ begin
s := Concat(s1, ' ', s2, ' ', s3, ' ', s4);
if s <> 'Hello Free Pascal World' then
Halt(3);
s := Concat(Concat(s1, ' ', s2), ' ', Concat(s3, ' ', s4));
if s <> 'Hello Free Pascal World' then
Halt(4);
Writeln('ok');
end.