fpc/tests/test/tcpstr21a.pp
paul 098227a9a0 tests: mark test as should fail
git-svn-id: trunk@21205 -
2012-05-03 06:47:42 +00:00

23 lines
388 B
ObjectPascal

{ %fail}
program tcpstr21a;
{$APPTYPE CONSOLE}
{$IFDEF FPC}
{$MODE DELPHIUNICODE}
{$ENDIF}
// Test that ansistring types has the same overload precedence when passing an UnicodeString constant
procedure TestStrConst(const S: AnsiString); overload;
begin
halt(1);
end;
procedure TestStrConst(const S: UTF8String); overload;
begin
halt(1);
end;
begin
TestStrConst('Test');
end.