tb0135.pp 234 B

12345678910111213141516171819
  1. { %FAIL }
  2. { This shouldc not compile, cdecl'ed constructor are not allowed }
  3. {$mode objfpc}
  4. type
  5. tmyobject = object
  6. constructor create; cdecl;
  7. end;
  8. constructor tmyobject.create;cdecl;
  9. begin
  10. end;
  11. Begin
  12. end.