2 ! Tests the fix for PR27269 and PR27xxx.
3 ! The former caused a segfault in trying to process
4 ! module b, with an unused equivalence in a. The latter
5 ! produced an assembler error due to multiple declarations
6 ! for a module equivalence, when one of the variables was
7 ! initialized, as M in module a.
10 integer, parameter :: dp = selected_real_kind (10)
11 real(dp) :: reM, M = 1.77d0
21 if (reM .ne. 1.77d0) call abort ()
23 if (M .ne. 0.57d1) call abort ()
25 ! { dg-final { cleanup-modules "a b" } }