1 /* { dg-shouldfail "tsan" } */
6 void *Thread(void *a
) {
12 static __thread
int Var
= 42;
14 pthread_create(&t
, 0, Thread
, &Var
);
19 /* { dg-output "WARNING: ThreadSanitizer: data race.*(\n|\r\n|\r).*" } */
20 /* { dg-output " Location is TLS of main thread.(\n|\r\n|\r).*" } */