2 ! { dg-additional-options "-cpp" }
6 subroutine foo (a
, b
, c
)
7 integer, parameter :: n
= N
8 integer, dimension (n
) :: a
9 integer, dimension (n
) :: b
10 integer, dimension (n
) :: c
21 !$acc kernels copyin (a(1:n), b(1:n)) copyout (c(1:n))
22 !$acc loop independent
29 if (c(i
) .ne
. a(i
) + b(i
)) stop 1
35 integer, parameter :: n
= N