PR middle-end/77674
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr56007.f
blob644f28efe625423e8ab3c3dbc96bae58c7a70ea1
1 ! { dg-do compile }
2 ! PR fortran/56007
3 ! Based on testcase by Tobias Schlüter
5 integer iw1(90), doiw1(90)
6 do iw1(1)=1
7 do iw1=1
8 do iw1=1,2 ! { dg-error "cannot be an array" }
9 end do ! { dg-error "Expecting END PROGRAM statement" }
10 END