comparison gcc/testsuite/gfortran.dg/pr32222.f90 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 !PR fortran/32222
2 ! { dg-do compile }
3
4 module splinemod
5 implicit none
6 integer, parameter :: dl = KIND(1.d0)
7 Type lSamples
8 integer l(10)
9 end Type lSamples
10 end module splinemod
11
12 subroutine InterpolateClArr(lSet)
13 use splinemod
14 type (lSamples), intent(in) :: lSet
15 real(dl) xl(10)
16 xl = real(lSet%l,dl)
17 end subroutine InterpolateClArr