aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr22263-1b.c
blob: ef67f32b609d1b8a63868c49d9d665eebfec7345 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
extern __thread int *foo;
 
static int x;

extern void bar (void);

int
_start ()
{
  foo = &x;
  return 0;
}