tb0130.pp 237 B

1234567891011121314151617
  1. { %FAIL }
  2. {$mode objfpc}
  3. type
  4. tmyclass = class
  5. { you should not be able to have virtual methods which
  6. are noted as cdecl.
  7. }
  8. procedure myroutine;virtual;cdecl;
  9. end;
  10. procedure tmyclass.myroutine;cdecl;
  11. begin
  12. end;
  13. Begin
  14. end.