glibc/elf/tst-tlsmod13a.c
Siddhesh Poyarekar c7738d0822 Don't include tls.h in test cases
Remove tls.h includes where they are not needed.
2013-10-18 19:45:36 +05:30

10 lines
132 B
C

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