Remove obsolete test from gdb.cp/var-tag.exp
[binutils-gdb.git] / gdb / testsuite / gdb.threads / tls-nodebug.c
blobd3b31b7609c717cd1aaeb2f1576cfbe5e5551748
1 /* Test accessing TLS based variable without any debug info compiled. */
3 #include <pthread.h>
5 __thread int thread_local = 42;
7 int main(void)
9 /* Ensure we link against pthreads even with --as-needed. */
10 pthread_testcancel();
11 return 0;