summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/tls-shared.c
blob: d4f8e5cc6e092f437e8863bf4e2d694684ce79ab (plain)
1
2
3
4
5
6
__thread int i_tls = 1;
int foo ()
{
  return i_tls;
}