18 lines · plain
1! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp2! OpenMP Version 4.53 4program p5integer :: y6!ERROR: Variable 'y' may not appear on both MAP and FIRSTPRIVATE clauses on a TARGET construct7!$omp target map(y) firstprivate(y)8y = y + 19!$omp end target10!ERROR: Variable 'y' may not appear on both MAP and FIRSTPRIVATE clauses on a TARGET SIMD construct11!$omp target simd map(y) firstprivate(y)12do i=1,113 y = y + 114end do15!$omp end target simd16 17end program p18