tb0680.pp 351 B

1234567891011121314151617181920212223242526
  1. { %NORUN }
  2. program tb0680;
  3. {$mode objfpc}{$H+}
  4. {$modeswitch advancedrecords}
  5. type
  6. TTest = record
  7. class operator + (aLeft, aRight: TTest): TTest;
  8. function Plus(aLeft, aRight: TTest): TTest;
  9. end;
  10. class operator TTest.+(aLeft, aRight: TTest): TTest;
  11. begin
  12. end;
  13. function TTest.Plus(aLeft, aRight: TTest): TTest;
  14. begin
  15. end;
  16. begin
  17. end.