mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-02 18:53:22 +00:00
18 lines
321 B
Fortran
18 lines
321 B
Fortran
! { 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" }
|