Internal-fn: Only allow modes describe types for internal fn[PR115961]
[official-gcc.git] / gcc / testsuite / gfortran.fortran-torture / execute / module_init_1.f90
blob216052ef6ed8fef30ca9e487047bbc37b9f74cd5
1 ! PR 13077: we used to fail when reading the module
2 module m1
3 real, dimension(4) :: a
4 data a(1:3:2) /2*1.0/
5 end module m1
6 use m1
7 if (a(1).NE.1.) STOP 1
8 if (a(1).NE.a(3)) STOP 2
9 end