view gcc/testsuite/gfortran.dg/pr71204.f90 @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

! PR fortran/71204
! { dg-do compile }
! { dg-options "-O0" }

module pr71204
  character(10), allocatable :: z(:)
end module

subroutine s1
  use pr71204
  z(2) = z(1)
end

subroutine s2
  use pr71204
  z(2) = z(1)
end