1 // RUN: %clangxx_msan -O0 %s -o %t && %run %t
3 // Check that when TLS block is reused between threads, its shadow is cleaned.
10 void *ThreadFn(void *) {
14 int * volatile p
= &y
;
21 for (int i
= 0; i
< 100; ++i
) {
22 pthread_create(&t
, 0, ThreadFn
, 0);