! { dg-do compile }! Test fix of PR24705 - ICE on assumed character length! internal function.!character(6)::cc=f1()if(c.ne.'abcdef')call abortcontains function f1()! { dg-error "must not be assumed length" }character(*)::f1f1='abcdef'end function f1end