re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git] / gcc / testsuite / gfortran.dg / oldstyle_1.f90
blob5e37e536a0ee46739eeaa70402cf8e137d0bfb2b
1 ! { dg-do run }
2 integer i, j /1/, g/2/, h ! { dg-warning "" }
3 integer k, l(3) /2*2,1/ ! { dg-warning "" }
4 real pi /3.1416/, e ! { dg-warning "" }
6 if (j /= 1) STOP 1
7 if (g /= 2) STOP 2
8 if (any(l /= (/2,2,1/))) STOP 3
9 if (pi /= 3.1416) STOP 4
10 end