summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ctf/cross-tu-cyclic-2.c
blob: aa2d177cf9c5d925b4722bcf734b5b128746eb63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct B;
struct A
{
  long a;
  struct B *foo;
  struct C *bar;
};

struct C
{
  struct B *foo;
  int b;
};

static struct C *foo __attribute__((used));
static struct A *bar __attribute__((used));