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