fpc/tests/webtbf/tw7070.pp
Jonas Maebe 6555f37cff * do not search variant operators when looking for an overloaded
operator for a non-variant type (was already intended that way,
    but checks didn't work) (mantis #7070) + tests
  * some tab->spaces in defcmp.pas

git-svn-id: trunk@7359 -
2007-05-16 13:59:35 +00:00

19 lines
175 B
ObjectPascal

{ %fail }
program varistr;
{$ifdef fpc}
{$mode delphi}
{$h+}
{$endif}
var
str: string;
begin
str := 'something';
if not str = 'hello' then
writeln('test')
end.