fpc/tests/webtbs/tw19434a.pp
Jonas Maebe 50659b7e7f * give an error if a routine definition defines default values for
parameters that do not appear in forward/interface definitions
    (mantis #19434)
  * added test for #17136 already works

git-svn-id: trunk@21524 -
2012-06-07 22:36:39 +00:00

24 lines
355 B
ObjectPascal

{ %norun }
unit tw19434a;
{$mode delphi}
interface
function Connect(const aHost: string; const aPort: Word = 21): Boolean; overload;
function Connect: Boolean; overload;
implementation
function Connect(const aHost: string; const aPort: Word): Boolean;
begin
end;
function Connect: Boolean;
begin
end;
end.