1 2 3 4 5 6 7 8 9 10 11
! PR fortran/92781 ! { dg-do compile } function foo () character(:), allocatable :: foo call bar () foo = 'abc' contains subroutine bar end end