blob: 555980719c5d378683a5baaa2b5ed3eff406ca38 [file] [log] [blame]
/* Test accessing TLS based variable without any debug info compiled. */
#include <pthread.h>
__thread int thread_local_var = 42;
int main(void)
{
/* Ensure we link against pthreads even with --as-needed. */
pthread_testcancel();
return 0;
}