Update year range in copyright notice of all files owned by the GDB project.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.threads / tls-shared.c
CommitLineData
623cc285
WN
1
2#include <pthread.h>
3
8bc2021f
EZ
4__thread int i_tls = 1;
5int foo ()
6{
623cc285
WN
7 /* Ensure we link against pthreads even with --as-needed. */
8 pthread_testcancel();
8bc2021f
EZ
9 return i_tls;
10}
11
This page took 1.263406 seconds and 4 git commands to generate.