2 // { dg-require-effective-target tls_runtime }
12 B& operator=(const B &);
19 #pragma omp threadprivate(thr)
21 B& B::operator= (const B &b)
23 assert (&b == expected);
24 assert (this != expected);
36 #pragma omp parallel copyin(thr)
39 nthreads = omp_get_num_threads ();
46 omp_set_num_threads (4);
49 assert (B::count == nthreads-1);