tb0134.pp 223 B

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