ieee_9.f90: XFAIL on arm*-*-gnueabi[hf].
[official-gcc.git] / gcc / testsuite / gfortran.dg / proc_ptr_27.f90
blob1d916de43181790844e4354ad66f0a8f9e50bf11
1 ! { dg-do compile }
3 ! PR fortran/44446
5 ! Contributed by Marco Restelli.
7 ! Procedure pointer with PROTECTED was wrongly rejected.
9 module m
10 implicit none
11 abstract interface
12 pure function i_f(x) result(y)
13 real, intent(in) :: x
14 real :: y
15 end function i_f
16 end interface
17 procedure(i_f), pointer, protected :: p_f => null()
18 end module m