2 ! This checks the fix for PR37706 in which the equivalence would be
3 ! inserted into the 'nudata' namespace with the inevitable consequences.
5 ! Contributed by Lester Petrie <petrielmjr@ornl.gov>
8 integer, dimension(200) :: l
= (/(201-i
, i
= 1,200)/)
10 integer :: l24
, l27
, l28
, l29
11 equivalence ( l(1), l0
)
14 subroutine nudata(nlibe
, a
, l
)
15 USE data_C
, only
: l24
, l27
, l28
, l29
24 integer :: l_(2) = (/1,2/), nlibe_
= 42
25 real :: a_(2) = (/1.,2./)
26 call nudata (nlibe_
, a_
, l_
)
29 ! { dg-final { cleanup-modules "data_C" } }