foo.in 412 B

1234567891011121314151617181920212223242526272829303132
  1. #include "doc1.h"
  2. #include "foo.h"
  3. #include <stdio.h>
  4. int generated();
  5. int wrapped();
  6. #include "subdir/subdir.h"
  7. #ifndef SUBDIR_DEF
  8. # error SUBDIR_DEF not defined
  9. #endif
  10. int main ()
  11. {
  12. if (generated()*wrapped()*doc() == 3*5*7)
  13. {
  14. FILE* fin = fopen("not_included.h", "r");
  15. if(fin)
  16. {
  17. fclose(fin);
  18. return 0;
  19. }
  20. else
  21. {
  22. return -2;
  23. }
  24. }
  25. return -1;
  26. }