fpc/tests/tbf/tb0270.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
106 B
ObjectPascal

{ %FAIL }
program tb0270;
{$mode objfpc}
operator / (aArg1: TObject): TObject;
begin
end;
begin
end.