c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr103716.f90
blob4f78900839ec78e7927ef1406092a7b74cac6c67
1 ! { dg-do compile }
3 ! The gimplifier used to throw a fit on thes two functions.
5 ! Contributed by Gerhard Steinmetz <gscfq@t-online.de>
7 function f1(x)
8 character(*) :: x(*)
9 print *, g(x%len)
10 end
12 function f2(x)
13 character(*) :: x(3)
14 print *, g(x%len)
15 end