mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-03 10:49:58 +00:00
17 lines
285 B
Fortran
17 lines
285 B
Fortran
! { dg-do run { target openacc_nvidia_accel_selected } }
|
|
|
|
module globalvars
|
|
implicit none
|
|
integer a
|
|
!$acc declare create (a)
|
|
end module globalvars
|
|
|
|
program test
|
|
use globalvars
|
|
use openacc
|
|
implicit none
|
|
|
|
if (acc_is_present (a) .neqv. .true.) call abort
|
|
|
|
end program test
|