summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/g77/971102-1.f
blob: 6181a17719174b32a5e22ec33eacacb40658b9e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
c { dg-do run }
       i=3
       j=0
       do i=i,5
         j = j+i
       end do
       do i=3,i
         j = j+i
       end do
       if (i.ne.7) call abort()
       print *, i,j
       end