Always organize test artifacts in a directory hierarchy
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.threads / tls-shared.c
1
2 #include <pthread.h>
3
4 __thread int i_tls = 1;
5 int foo ()
6 {
7 /* Ensure we link against pthreads even with --as-needed. */
8 pthread_testcancel();
9 return i_tls;
10 }
11
This page took 0.029648 seconds and 4 git commands to generate.