2016-01-14 Edward Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-fortran / declare-2.f90
blob2aa79079d91170bdf22112516c250de61ed70be6
1 ! { dg-do run { target openacc_nvidia_accel_selected } }
3 module globalvars
4 implicit none
5 integer a
6 !$acc declare create (a)
7 end module globalvars
9 program test
10 use globalvars
11 use openacc
12 implicit none
14 if (acc_is_present (a) .neqv. .true.) call abort
16 end program test