summaryrefslogtreecommitdiffstats
path: root/testsuite/shuffle6lib1.c
blob: 8053293b058fa420ed9c2e42addcb0b098e164b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "reloc1.h"

int bar = 26;
int baz = 28;
#define M(i) int b##i, *pb##i = &b##i;
M(0) M(1) M(2) M(3) M(4) M(5) M(6) M(7) M(8) M(9)
M(10) M(11) M(12) M(13) M(14) M(15) M(16) M(17) M(18) M(19)
#undef M

struct A foo = { 1, &foo, &bar };

int f1 (void)
{
  return 1;
}

int f2 (void)
{
  return f1 () + 1;
}