Debian Codegraph @

gcc/testsuite/gfortran.dg/goacc/array-with-dt-6.f90

raw
1 type t
2 integer :: i, j
3 end type t
4 type t2
5 type(t) :: b(4)
6 end type
7 type(t2) :: var(10)
8 !$acc update host(var(3)%b(:)%j) ! { dg-error "not a proper array section" }
9 !$acc update host(var(3)%b%j) ! { dg-error "not a proper array section" }
10 end