Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/libgomp/testsuite/libgomp.oacc-fortran/declare-2.f90

17 lines
239 B
Fortran
Raw Normal View History

2023-03-06 14:48:14 +01:00
! { dg-do run }
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.) STOP 1
end program test