fpc/tests/webtbf/tw26363a.pp
Jonas Maebe 2df1d5ec58 * don't allow default parameter values for parameter types that don't accept
constant values (i.e., anything non-value/const/constref) (mantis #263363)
   o fixed default parameter value for var-parameter in chmreader

git-svn-id: trunk@28016 -
2014-06-20 19:50:20 +00:00

14 lines
115 B
ObjectPascal

{ %fail }
{$mode objfpc}
procedure test(out x: longint = 0);
begin
end;
var
l: longint;
begin
test(l);
end.