binutils-gdb/gdb/testsuite/gdb.threads/tls-shared.c

7 lines
56 B
C

__thread int i_tls = 1;
int foo ()
{
return i_tls;
}