nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / cray_pointers_10.f90
blobf673dbd4848b7338e3b2c80cc81d59aea59251e1
1 ! { dg-do run }
2 ! { dg-options "-fcray-pointer" }
4 ! PR fortran/45187
6 module foo
7 implicit none
8 real :: a
9 pointer(c_a, a)
10 end module foo
12 program test
13 use foo
14 real :: z
15 c_a = loc(z)
16 a = 42
17 if (z /= 42) STOP 1
18 end program test