c: fix ICE when forming composite type for two structures / unions [PR117548]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr78758.f90
blob3fd335287e974cba2f8f4b4b583f0acaddeff5d4
1 ! PR fortran/78758
2 ! { dg-do compile }
3 ! { dg-options "-O2 -Wall" }
5 integer function pr78758 (x)
6 character(len=*), intent(in) :: x
7 character(len=16) :: y
8 integer, external :: z
9 y(2:) = " " // adjustl (x(2:))
10 pr78758 = z (y)
11 end function pr78758