aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr85543.f90
blob: d3f83276a7f2d173fa8719871e1ef389687e3576 (plain)
1
2
3
4
5
6
7
8
! { dg-do compile }
! PR fortran/85543
program p
   procedure(), pointer :: z
contains
   real(z()) function f()  ! { dg-error "in initialization expression at" }
   end
end