Debian Codegraph @

gcc/testsuite/gfortran.dg/goacc/derived-types-3.f90

raw
1 module bar
2 type :: type1
3 integer :: a(5)
4 integer :: b(5)
5 end type
6 end module
7
8 subroutine foo
9 use bar
10 type(type1) :: var
11 !$acc enter data copyin(var%a) copyin(var%a) ! { dg-error ".var\.a. appears more than once in map clauses" }
12 end subroutine