blob: 08a9f62b0881cc9936e3b9805f1dfc1e0753a825 [file] [log] [blame]
integer :: x, y
!$omp target in_reduction(+: x) private(x) ! { dg-error "Symbol 'x' present on multiple clauses" }
x = x + 1
!$omp end target
!$omp target in_reduction(+: y) firstprivate(y) ! { dg-error "Symbol 'y' present on both data and map clauses" }
y = y + 1
!$omp end target
end