1 /* { dg-shouldfail "tsan" } */
6 void *Thread(void *x
) {
12 pthread_create(&t
, 0, Thread
, 0);
17 /* { dg-output "WARNING: ThreadSanitizer: thread leak.*(\n|\r\n|\r)" } */
18 /* { dg-output "SUMMARY: ThreadSanitizer: thread leak.*main.*(\n|\r\n|\r)" } */