summaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod13.c
blob: 7712d8b8c86d94b3963f85b0d6c6636b9e23bf36 (plain)
1
2
3
4
5
6
7
__thread int a[2] __attribute__ ((tls_model ("initial-exec")));

int
foo (void)
{
  return a[0];
}