PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / do_check_1.f90
blob94d8a848810cea173f7ce1d0a976a277160f6c8f
1 ! { dg-do run }
2 ! { dg-options "-fcheck=do" }
3 ! { dg-shouldfail "DO check" }
5 ! PR fortran/34656
6 ! Run-time check for zero STEP
8 program test
9 implicit none
10 integer :: i,j
11 j = 0
12 do i = 1, 40, j
13 print *, i
14 end do
15 end program test
16 ! { dg-output "Fortran runtime error: DO step value is zero" }