1 !RUN: %python %S/../test_errors.py %s %flang -fopenmp
3 ! 2.15.3.2 parallel shared Clause
4 program omp_parallel_shared
5 integer :: i
, j
, a(10), b(10), c(10)
13 !ERROR: A variable that is part of another variable (as an array or structure element) cannot appear in a PRIVATE or SHARED clause
14 !$omp parallel shared(array(i))
16 c(i
) = a(i
) + b(i
) + k
20 end program omp_parallel_shared