PR c++/27177
[official-gcc.git] / gcc / testsuite / gfortran.dg / oldstyle_1.f90
blobe26c467bf85beddd934b688dae5d85aaf78c0a86
1 integer i, j /1/, g/2/, h ! { dg-warning "" "" }
2 integer k, l(3) /2*2,1/ ! { dg-warning "" "" }
3 real pi /3.1416/, e ! { dg-warning "" "" }
5 if (j /= 1) call abort ()
6 if (g /= 2) call abort ()
7 if (any(l /= (/2,2,1/))) call abort ()
8 if (pi /= 3.1416) call abort ()
9 end