PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / do_check_11.f90
blob87850cf40eb37a356df333dcfec80fbe3accef8d
1 ! { dg-do run }
2 ! { dg-options "-fcheck=do" }
3 ! { dg-shouldfail "DO check" }
5 program test
6 implicit none
7 integer(1) :: i
8 do i = HUGE(i)-10, HUGE(i)
9 print *, i
10 end do
11 end program test
12 ! { dg-output "Fortran runtime error: Loop iterates infinitely" }