coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr32222.f90
blobfbe33ed129bb284237451264dfcdb06d18e7fcb9
1 !PR fortran/32222
2 ! { dg-do compile }
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
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