6 void* test_thread(void* arg)
8 printf("Hello from thread!\n");
17 pthread_create(&thread, NULL, test_thread, arg);
18 pthread_join(thread, NULL);
23 /* { dg-output "Hello from thread!\n" } */
27 /* Even this test case replicates the problem. However, when built in
28 static mode, it blows up during __mf_init (?!?!?!) with a
29 pthread_mutex_lock deadlock error. */