2 // { dg-require-effective-target c++11 }
3 // { dg-require-effective-target tls_runtime }
4 // { dg-require-effective-target pthread }
5 // { dg-require-cxa-atexit "" }
6 // { dg-options -pthread }
7 // { dg-add-options tls }
19 void *thread_main(void *)
30 pthread_create (&thread, 0, thread_main, 0);
31 pthread_join(thread, 0);
32 pthread_create (&thread, 0, thread_main, 0);
33 pthread_join(thread, 0);