ieee_9.f90: XFAIL on arm*-*-gnueabi[hf].
[official-gcc.git] / gcc / testsuite / gfortran.dg / pointer_target_4.f90
blobcda3453d9d85d5a5855ecacf2d6b2236717161a5
1 ! { dg-do compile }
3 ! PR fortran/47377
5 ! Contributed by <thenlich@users.sourceforge.net>
7 program testgferr
8 real, pointer :: y
9 y => f() ! { dg-error "must deliver a pointer result" }
10 contains
11 function f()
12 real :: f
13 f = 5
14 end function f
15 end program testgferr