aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr92781.f90
blob: 67a1961205ad5472f39b258809d10df7691d597f (plain)
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