gcc/testsuite/gfortran.dg/pr32222.f90
raw| 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 |