test1.cxx 368 B

12345678910111213141516171819202122
  1. #include <stdio.h>
  2. int testExtraStuff3();
  3. int testExtraStuff();
  4. int testExtraStuff2();
  5. int test1(int ac, char* av[])
  6. {
  7. if (!testExtraStuff2()) {
  8. return -1;
  9. }
  10. if (!testExtraStuff()) {
  11. return -1;
  12. }
  13. if (!testExtraStuff3()) {
  14. return -1;
  15. }
  16. printf("test1\n");
  17. for (int i = 0; i < ac; i++)
  18. printf("arg %d is %s\n", ac, av[i]);
  19. return 0;
  20. }