aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/pr22266_main.c
blob: b49b5e1214de78d5db353515a0780e1a343e8707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdlib.h>
#include <string.h>

extern int *p_int_from_a_2;
extern const char *hello (void);

int main (void) {
  if (*p_int_from_a_2 != 0x11223344)
    abort ();
  if (strcmp(hello(), "Hello, world!") != 0)
    abort ();
  return 0;
}