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

5 lines
151 B
Fortran
Raw Permalink Normal View History

<EFBFBD><EFBFBD>print *, "Hello world!"
<EFBFBD><EFBFBD>end ! { dg-error "Invalid character" }
! { dg-do compile }
! { dg-error "Unexpected end of file" "" { target "*-*-*" } 0 }