[AArch64] Fix SVE testsuite failures for ILP32 (PR 83846)
[official-gcc.git] / gcc / testsuite / gfortran.dg / cray_pointers_10.f90
blob1ac98f3ea46fd94af4d35d2b819897fe71a1aade
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) call abort
18 end program test