2 /* { dg-require-effective-target tls_runtime } */
7 struct { int t
; char buf
[64]; } thr
= { 32, "" };
8 #pragma omp threadprivate (thr)
16 omp_set_num_threads (6);
18 #pragma omp parallel copyin (thr) reduction (||:l)
21 thr
.t
= omp_get_thread_num () + 11;
27 #pragma omp parallel reduction (||:l)
28 l
= thr
.t
!= omp_get_thread_num () + 11;