t9.c 370 B

123456789101112131415161718192021222324
  1. #include <stdio.h>
  2. extern int tlib7func();
  3. #ifdef __CLASSIC_C__
  4. int main()
  5. {
  6. int ac;
  7. char*av[];
  8. #else
  9. int main(int ac, char*av[])
  10. {
  11. #endif
  12. if(ac > 1000){return *av[0];}
  13. printf("This is T9. This one should work.\n");
  14. if ( tlib7func() != 7 )
  15. {
  16. fprintf(stderr, "Something wrong with T7\n");
  17. return 1;
  18. }
  19. return 0;
  20. }