pr22266_main.c 245 B

12345678910111213
  1. #include <stdlib.h>
  2. #include <string.h>
  3. extern int *p_int_from_a_2;
  4. extern const char *hello (void);
  5. int main (void) {
  6. if (*p_int_from_a_2 != 0x11223344)
  7. abort ();
  8. if (strcmp(hello(), "Hello, world!") != 0)
  9. abort ();
  10. return 0;
  11. }