3 ! PR 40541: Assignment checking for proc-pointer => proc-ptr-returning-function()
5 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
8 procedure(real), pointer :: p
9 p
=> f() ! { dg-error "Type/kind mismatch in return value" }
14 logical(1) function f()