mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 16:47:53 +02:00
17 lines
273 B
ObjectPascal
17 lines
273 B
ObjectPascal
{ test that the correct type helper is used for String = UnicodeString }
|
|
|
|
program tthlp26c;
|
|
|
|
{$mode objfpc}{$H+}
|
|
{$modeswitch unicodestrings}
|
|
{$modeswitch typehelpers}
|
|
|
|
uses
|
|
uthlp;
|
|
|
|
begin
|
|
if String.TestClass <> 4 then
|
|
Halt(1);
|
|
Writeln('ok');
|
|
end.
|