Debian Codegraph @

gcc/testsuite/gfortran.dg/goacc/loop-4.f95

raw
1 ! Ensure that loops not affiliated with acc compute regions cause an error.
2
3 subroutine test1
4 !$acc loop gang ! { dg-error "loop directive must be associated with an OpenACC compute region" }
5 DO i = 1,10
6 ENDDO
7 end subroutine test1