simple.cxx 359 B

12345678910111213141516171819202122232425
  1. #include <stdio.h>
  2. #include <string.h>
  3. #include "testlib.h"
  4. #include "testdp.h"
  5. extern int simple();
  6. int main ()
  7. {
  8. if(simple() != 123)
  9. {
  10. return -3;
  11. }
  12. if (strcmp(animal,"SIZZLING"))
  13. {
  14. fprintf(stderr,"Get definitions from a subdir did not work\n");
  15. return -2;
  16. }
  17. if(TestLib() != 1.0)
  18. {
  19. return -1;
  20. }
  21. return 0;
  22. }