Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/proc_ptr_27.f90 @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! ! PR fortran/44446 ! ! Contributed by Marco Restelli. ! ! Procedure pointer with PROTECTED was wrongly rejected. ! module m implicit none abstract interface pure function i_f(x) result(y) real, intent(in) :: x real :: y end function i_f end interface procedure(i_f), pointer, protected :: p_f => null() end module m