tcalpext.pp 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {****************************************************************}
  2. { CODE GENERATOR TEST PROGRAM }
  3. {****************************************************************}
  4. { NODE TESTED : secondcalln() }
  5. {****************************************************************}
  6. { PRE-REQUISITES: secondload() }
  7. { secondassign() }
  8. { secondcalln() }
  9. { secondadd() }
  10. { secondtypeconv() }
  11. {****************************************************************}
  12. { DEFINES: }
  13. {****************************************************************}
  14. { This test check that the code created by Free Pascal for }
  15. { functions declared with cdecl modifier are correct }
  16. {****************************************************************}
  17. {$define USE_PASCAL_OBJECT}
  18. {$MODE OBJFPC}
  19. {$STATIC ON}
  20. {$R+}
  21. { Compile ptest.o }
  22. uses
  23. strings,
  24. ptest
  25. ;
  26. {$ifdef USE_PASCAL_OBJECT}
  27. {$ifdef win32}
  28. {$ifdef ver1_0}
  29. {$L ptest.ow}
  30. {$else}
  31. {$L ptest.o}
  32. {$endif}
  33. {$else}
  34. {$L ptest.o}
  35. {$endif not win32}
  36. {$endif USE_PASCAL_OBJECT}
  37. {$i tcalext.pp }