fpc/tests/webtbs/tw29460.pp
florian 2f374a37b7 * patch by Bart Broersma to allow to declare "LongInt = AnsiString" comparison
operator in non-macpas modes, resolves 

git-svn-id: trunk@43709 -
2019-12-22 22:06:26 +00:00

19 lines
239 B
ObjectPascal

program project1;
{$mode objfpc}{$H+}
{$modeswitch advancedrecords}
operator = (z1: LongInt; z2 : ansistring) b : boolean;
begin
b := false;
end;
var
i: longint;
s: string;
begin
if i = s then
halt(1);
writeln('ok');
end.