! { dg-do compile }! PR 84957!! Testcase derived from PR by G. Steinmetz <gscfq@t-online.de>!functionf()result(u)entryg()result(v)containsfunctionv(x)result(z)character::x(2)character(sum(len_trim(x))) :: z
end function v
functionu(x)result(z)character::x(2)character(sum(len_trim(x))) :: z
end function u
end function f