blob: ac220ab4c7ed55cf30f5590bdc48a4aa2b3087c0 [file] [log] [blame]
! { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } }
IMPLICIT NONE
INCLUDE "openacc_lib.h"
INTEGER I
CALL ACC_COPYIN (I)
!$ACC DATA COPY (I)
I = 0
!$ACC END DATA
END
! { dg-shouldfail "" }
! { dg-output "Trying to map into device .* object when .* is already mapped" }