PR middle-end/77674
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr77420_1.f90
blob7652d6950fa2f41e910caeb3f1d9333477f7e87e
1 ! { dg-do compile }
2 module test_equivalence
3 real, private :: array1(100)
4 real, private :: array2(100)
5 equivalence(array1(3),array2(3))
6 end module test_equivalence
8 module mymodule
9 use test_equivalence
10 real, dimension(:), allocatable :: array1
11 end module mymodule
13 program test
14 use mymodule
15 end program test