* cfghooks.c (verify_flow_info): Disable check that all probabilities
[official-gcc.git] / gcc / testsuite / gfortran.dg / do_check_9.f90
blob9cc133b8f6a40a37b77afcd48cfda49d479d80ce
1 ! { dg-do compile }
3 ! PR fortran/50554
5 ! Contributed by Vittorio Zecca
7 ! INQUIRE cannot redefine DO index
9 do I=1,10 ! { dg-error "cannot be redefined inside loop beginning at" }
10 inquire(iolength=I) n ! { dg-error "cannot be redefined inside loop beginning at" }
11 inquire(99,size=I) ! { dg-error "cannot be redefined inside loop beginning at" }
12 read(99,'(i4)',size=I,advance="no") n ! { dg-error "cannot be redefined inside loop beginning at" }
13 end do
14 end