blob: 7652d6950fa2f41e910caeb3f1d9333477f7e87e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
! { dg-do compile }
module test_equivalence
real, private :: array1(100)
real, private :: array2(100)
equivalence(array1(3),array2(3))
end module test_equivalence
module mymodule
use test_equivalence
real, dimension(:), allocatable :: array1
end module mymodule
program test
use mymodule
end program test
|