pr13250-3.c 327 B

12345678910111213141516171819202122
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int common1[1];
  4. char common2[2];
  5. extern int bar ();
  6. int
  7. main ()
  8. {
  9. int i;
  10. if (bar () != -1)
  11. abort ();
  12. if (common1[0] != -1)
  13. abort ();
  14. for (i = 0; i < sizeof (common2)/ sizeof (common2[0]); i++)
  15. if (common2[i] != 0)
  16. abort ();
  17. printf ("PASS\n");
  18. return 0;
  19. }