fpc/tests/webtbf/tw35348.pp
svenbarth 92a580d3a6 Merged revision(s) 41868-41869 from trunk:
* ensure that the correct amount of parameters is used for an operator overload (this is essentially important for unary operators that were declared with two arguments)
........
* fix for Mantis #35348: correctly handle symbols that aren't parameter types (e.g. default values)
+ added test
........

git-svn-id: branches/fixes_3_2@47587 -
2020-11-25 21:39:12 +00:00

14 lines
131 B
ObjectPascal

{ %FAIL }
{$mode objfpc}{$H+}
Type
TAZ=String;
operator inc(az: TAZ; i: integer=1) raz:TAZ; // inline;
begin
end;
begin
end.