view gcc/testsuite/gfortran.dg/lto/pr84645_0.f90 @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
line wrap: on
line source

! { dg-lto-do link }
! { dg-lto-options { { -flto -g0 } } }
! { dg-extra-ld-options { -g } }
program nml_test
  implicit none
  type t
    integer :: c1
    integer :: c2(3)
  end type t
  call test2(2) 
contains
  subroutine test2(n)
    integer :: n
    type(t) :: x12(n)
    namelist /nml2/ x12
  end subroutine test2
end program nml_test