(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
func_result_2.f90
! { dg-do run }
! Character functions with a result clause were broken
program testch
  if (ch().ne."hello     ") STOP 1
contains
  function ch () result(str)
    character(len = 10)  :: str
    str ="hello"
  end function ch
end program testch