Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/do_check_1.f90 @ 120:f93fa5091070
fix conv1.c
author | mir3636 |
---|---|
date | Thu, 08 Mar 2018 14:53:42 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do run } ! { dg-options "-fcheck=do" } ! { dg-shouldfail "DO check" } ! ! PR fortran/34656 ! Run-time check for zero STEP ! program test implicit none integer :: i,j j = 0 do i = 1, 40, j print *, i end do end program test ! { dg-output "Fortran runtime error: DO step value is zero" }