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

6 lines
140 B
Fortran

! { dg-do compile }
! PR fortran/20842
WRITE(UNIT=6,END=999) 0 ! { dg-error "END tag .* not allowed in output statement" }
999 CONTINUE
END