summaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod13a.c
blob: ca4eaccbff1179947735a95d1a22267432d5f4ac (plain)
1
2
3
4
5
6
7
8
9
__thread int b[2] __attribute__ ((tls_model ("initial-exec")));

extern int foo (void);

int
bar (void)
{
  return foo () + b[0];
}