1 ! RUN: %S/test_errors.sh %s %t %flang -fopenmp
4 ! 2.15.4.1 copyin Clause
5 ! A list item that appears in a copyin clause must be threadprivate.
6 ! Named variables appearing in a threadprivate common block may be specified
7 ! It is not necessary to specify the whole common block.
11 integer :: a(10), b(10)
14 !$omp threadprivate(/cmn/)
19 !$omp parallel copyin(/cmn/)
27 !$omp parallel copyin(j, k)
34 end program omp_copyin