]> Git Repo - binutils.git/blob - gdb/testsuite/gdb.threads/tls-nodebug.c
Automatic date update in version.in
[binutils.git] / gdb / testsuite / gdb.threads / tls-nodebug.c
1 /* Test accessing TLS based variable without any debug info compiled.  */
2
3 #include <pthread.h>
4
5 __thread int thread_local = 42;
6
7 int main(void)
8 {
9   /* Ensure we link against pthreads even with --as-needed.  */
10   pthread_testcancel();
11   return 0;
12 }
This page took 0.025954 seconds and 4 git commands to generate.