gcc/testsuite/gfortran.dg/gomp/pr107214-5.f90
raw| 1 | integer :: x, y |
| 2 | |
| 3 | !$omp target in_reduction(+: x) private(x) ! { dg-error "Symbol 'x' present on multiple clauses" } |
| 4 | x = x + 1 |
| 5 | !$omp end target |
| 6 | |
| 7 | !$omp target in_reduction(+: y) firstprivate(y) ! { dg-error "Symbol 'y' present on both data and map clauses" } |
| 8 | y = y + 1 |
| 9 | !$omp end target |
| 10 | |
| 11 | end |