summaryrefslogtreecommitdiffstats
path: root/gdb/testsuite/gdb.threads/tls-nodebug.c
blob: 73d96f0f3cdc15c9dd012533b457f71e4b031cdd (plain)
1
2
3
4
5
6
7
8
9
10
/* Test accessing TLS based variable without any debug info compiled.  */

#include <pthread.h>

__thread int thread_local = 42;

int main(void)
{
  return 0;
}
OpenPOWER on IntegriCloud