glibc/elf/tst-tlsmod13.c

8 lines
99 B
C

__thread int a[2] __attribute__ ((tls_model ("initial-exec")));
int
foo (void)
{
return a[0];
}