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