tree-optimization/116905 - ICE with bogus range ops
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-fortran / declare-2.f90
blobde9c52ef0f6486c76b8f97025f327a526962dba8
1 ! { dg-do run }
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.) STOP 1
16 end program test