1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp
3 ! 2.15.4.1 copyin Clause
4 ! A list item that appears in a copyin clause must be threadprivate
10 integer :: a(10), b(10)
15 !ERROR: Non-THREADPRIVATE object 'k' in COPYIN clause
16 !$omp parallel do copyin(k)
25 !ERROR: Non-THREADPRIVATE object 'j' in COPYIN clause
26 !$omp parallel do copyin(/cmn/)
34 end program omp_copyin