Debian Codegraph @

gcc/testsuite/gfortran.dg/goacc/mapping-tests-5.f90

raw
1 subroutine foo
2 type one
3 integer, dimension(10) :: i, j
4 end type
5 type two
6 type(one) A, B
7 end type
8
9 type(two) x
10
11 !$acc enter data copyin(x%A%i(5), x%A%i(4), x%A)
12 ! { dg-error ".x.a.i. appears more than once in map clauses" "" { target *-*-* } .-1 }
13 !$acc enter data copyin(x%A, x%A%i(5), x%A%i(4))
14 ! { dg-error ".x.a.i. appears more than once in map clauses" "" { target *-*-* } .-1 }
15 end