mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-01 23:42:39 +02:00
23 lines
376 B
ObjectPascal
23 lines
376 B
ObjectPascal
program concatenate_resourestrings_delphiunicode;
|
||
|
||
{$mode delphiunicode}
|
||
{$codepage cp1250}
|
||
|
||
{$ifdef unix}
|
||
uses
|
||
{$ifdef darwin}iosxwstr{$else}cwstring{$endif};
|
||
{$endif}
|
||
|
||
resourcestring
|
||
res2 = 'žlu<6C>ouèký ' + 'koníèek';
|
||
|
||
type
|
||
tstr1250 = type ansistring(1250);
|
||
var
|
||
str1250: tstr1250;
|
||
begin
|
||
str1250 := 'žlu<6C>ouèký ' + 'koníèek';
|
||
if res2<>str1250 then
|
||
halt(1);
|
||
end.
|