aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/pr32222.f90
blob: fbe33ed129bb284237451264dfcdb06d18e7fcb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
!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