! { dg-do run }!! PR 41106: [F03] Procedure Pointers with CHARACTER results!! Contributed by Janus Weil <janus@gcc.gnu.org>character(len=5)::strprocedure(character(len=5)),pointer::pppp=>abcprint*,pp()str=pp()if(str/='abcde')call abort()contains function abc()character(len=5)::abcabc='abcde'end function abcend