fpc/tests/webtbs/tw7070a.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

22 lines
190 B
ObjectPascal

{ %norun }
{$ifdef fpc}
{$mode delphi}
{$h+}
{$endif}
uses
Variants;
procedure test(const a: array of string);
begin
end;
var
a,b: variant;
begin
a:=1;
b:=2;
test([a,b]);
end.