aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr103716.f90
blob: 4f78900839ec78e7927ef1406092a7b74cac6c67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do compile }
!
! The gimplifier used to throw a fit on thes two functions.
!
! Contributed by Gerhard Steinmetz  <gscfq@t-online.de>
!
function f1(x)
   character(*) :: x(*)
   print *, g(x%len)
end

function f2(x)
   character(*) :: x(3)
   print *, g(x%len)
end