mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 04:39:38 +02:00

* 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 -
14 lines
131 B
ObjectPascal
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.
|