mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 07:49:12 +02:00
* 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:
parent
916ff0b92c
commit
afa6d1bdb0
@ -16,5 +16,8 @@ begin
|
|||||||
s := Concat(s1, ' ', s2, ' ', s3, ' ', s4);
|
s := Concat(s1, ' ', s2, ' ', s3, ' ', s4);
|
||||||
if s <> 'Hello Free Pascal World' then
|
if s <> 'Hello Free Pascal World' then
|
||||||
Halt(3);
|
Halt(3);
|
||||||
|
s := Concat(Concat(s1, ' ', s2), ' ', Concat(s3, ' ', s4));
|
||||||
|
if s <> 'Hello Free Pascal World' then
|
||||||
|
Halt(4);
|
||||||
Writeln('ok');
|
Writeln('ok');
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user