mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 02:09:33 +01:00
when assigning a string constant to a rawbytestring (system code page with
{$modeswitch systemcodepage}, CP_ACP without) (mantis #25332)
git-svn-id: trunk@26397 -
9 lines
118 B
ObjectPascal
9 lines
118 B
ObjectPascal
|
|
{$mode delphiunicode}
|
|
|
|
const r: rawbytestring = 'abc';
|
|
begin
|
|
if stringcodepage(r) = CP_NONE then
|
|
halt(1);
|
|
end.
|