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

11 lines
161 B
C

/* Test accessing TLS based variable without any debug info compiled. */
#include <pthread.h>
__thread int thread_local = 42;
int main(void)
{
return 0;
}