Merge from the pain train
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr17708.f90
blobb696b0c27579c00f337c7b3ed34c945041e402b3
1 ! { dg-do run }
2 program test
3 j = 0
4 do 10 i=1,3
5 if(i == 2) goto 10 ! { dg-warning "jumps to END" }
6 j = j+1
7 10 enddo ! { dg-warning "jumps to END" }
8 if (j/=2) call abort
9 end