Debian Codegraph @

gcc/testsuite/gfortran.dg/goacc-gomp/depobj.f90

raw
1 ! PR fortran/100642
2 ! Contributed by G. Steinmetz
3 program p
4 !use omp_lib, only: omp_depend_kind
5 use iso_c_binding, only: c_intptr_t
6 integer, parameter :: omp_depend_kind = 2*c_intptr_t
7 integer(omp_depend_kind) :: a, b
8 !$acc data
9 !$omp depobj(b) depend(out:a) ! { dg-error "The !\\\$OMP DEPOBJ directive cannot be specified within a !\\\$ACC DATA region" }
10 !$acc end data
11 end