view gcc/testsuite/gfortran.dg/pr78758.f90 @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

! PR fortran/78758
! { dg-do compile }
! { dg-options "-O2 -Wall" }

integer function pr78758 (x)
  character(len=*), intent(in) :: x
  character(len=16)            :: y
  integer, external            :: z
  y(2:) = " " // adjustl (x(2:))
  pr78758 = z (y)
end function pr78758