fpc/tests/webtbf/tw10081.pp
Jonas Maebe 549f1ecc1b * when using overloaded functions in Delphi mode without the "overload"
directive, state that "overload" is missing rather than that
    overloading is disabled (mantis #10081)

git-svn-id: trunk@12723 -
2009-02-08 16:01:41 +00:00

18 lines
250 B
ObjectPascal

{ %fail }
{$mode delphi}
{ manual verification: make sure it complains about a missing overload
directive rather than saying that overloading is disabled
}
procedure test(a: longint);
begin
end;
procedure test(s: string);
begin
end;
begin
end.