view gcc/testsuite/gfortran.dg/pr32222.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/32222
! { dg-do compile }

module splinemod
implicit none
integer, parameter :: dl = KIND(1.d0)
Type lSamples
  integer l(10)
end Type lSamples
end module splinemod

subroutine InterpolateClArr(lSet)
use splinemod
type (lSamples), intent(in) :: lSet
real(dl) xl(10)
xl = real(lSet%l,dl)
end subroutine InterpolateClArr