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