rt_gccstream/gcc/testsuite/gfortran.dg/fmt_error.f90

5 lines
175 B
Fortran

! { dg-do compile }
! PR32545 Give compile error not warning for wrong edit format statements.
read (5,'(i0)') i ! { dg-error "Error: Positive width required in format" }
end