2 ! { dg-require-effective-target tls_runtime }
6 procedure(), pointer :: foo
7 !$omp threadprivate (foo, vi)
22 end module threadprivate4
30 procedure(), pointer :: bar1
32 !$omp threadprivate (/thrc/)
34 procedure(), pointer, save :: bar2
35 !$omp threadprivate (bar2)
38 call omp_set_dynamic (.false
.)
39 call omp_set_num_threads (4)
41 !$omp parallel num_threads (4) reduction (.or.:l) private (i)
42 i
= omp_get_thread_num ()
78 ! { dg-final { cleanup-modules "threadprivate4" } }