2 ! various checks which verify that we don't change do-iterators
3 DO I
=1,5 ! { dg-error "cannot be redefined" "changing do-iterator 1" }
4 I
=1 ! { dg-error "cannot be redefined" "changing do-iterator 1" }
6 DO I
=1,5 ! { dg-error "cannot be redefined" "changing do-iterator 2" }
7 READ(5,*) I
! { dg-error "cannot be redefined" "changing do-iterator 2" }
9 DO I
=1,5 ! { dg-error "cannot be redefined" "changing do-iterator 3" }
10 READ(5,*,iostat
=i
) j
! { dg-error "cannot be redefined" "changing do-iterator 3" }
13 ! { dg-error "Invalid character" "character" { target *-*-* } 7 }