Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gfortran.dg / module_double_reuse.f90
blob8c1b6ec6367625cc2ee93fca2e581306a39ccbbd
1 ! Test of fix for PR18878
3 ! Based on example in PR by Steve Kargl
5 module a
6 integer, parameter :: b = kind(1.d0)
7 real(b) :: z
8 end module a
9 program d
10 use a, only : e => b, f => b, u => z, v => z
11 real(e) x
12 real(f) y
13 x = 1.e0_e
14 y = 1.e0_f
15 u = 99.0
16 if (kind(x).ne.kind(y)) call abort ()
17 if (v.ne.u) call abort ()
18 end program d