Debian Codegraph @

gcc/testsuite/gfortran.dg/pr103716.f90

raw
1 ! { dg-do compile }
2 !
3 ! The gimplifier used to throw a fit on thes two functions.
4 !
5 ! Contributed by Gerhard Steinmetz <[email protected]>
6 !
7 function f1(x)
8 character(*) :: x(*)
9 print *, g(x%len)
10 end
11
12 function f2(x)
13 character(*) :: x(3)
14 print *, g(x%len)
15 end