blob: d968e54453d521416e9d0eef7ab5983cb0f4e9b1 [file] [log] [blame]
! { dg-do compile }
subroutine foo (r)
integer :: i, r
!$omp target
!$omp target teams distribute parallel do reduction (+: r) ! { dg-warning ".target. construct inside of .target. region" }
do i = 1, 10
r = r + 1
end do
!$omp end target
end subroutine