Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gfortran.dg / oldstyle_1.f90
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 "" "" }
5
6       if (j /= 1) call abort ()
7       if (g /= 2) call abort ()
8       if (any(l /= (/2,2,1/))) call abort ()
9       if (pi /= 3.1416) call abort ()
10       end