Debian Codegraph @

gcc/testsuite/gfortran.dg/goacc/pr94120-2.f90

raw
1 ! { dg-do compile }
2 !
3 ! PR fortran/94120
4 !
5 ! BLOCK is not supported in OpenACC <= 3.0
6 !
7 subroutine f()
8 block
9 integer :: k
10 !$acc declare copy(j) ! { dg-error "Sorry, !.ACC DECLARE at .1. is not allowed in BLOCK construct" }
11 end block
12 end