blob: 3251e52f512adace55fc6ee1617c96ea5ca1aa5a [file] [log] [blame]
! { dg-do compile }
! PR fortran/36459
!
abstract interface
function dim()
integer :: dim
end function dim
end interface
procedure(dim) :: f
interface
integer function tan()
end function
end interface
procedure(tan) :: g
print *, f()
print *, tan()
end