aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/reloc2.c
blob: 6c7fed5348fe8b401944c2f313cea957369bad52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdlib.h>

extern int f2 (int add);
extern void * f3 (void);

int main()
{
  if (f2 (1) != 27 || f2 (0) != 1)
    abort ();
  if (f3 () != (void *) f3)
    abort ();
  exit (0);
}