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

8 lines
241 B
Fortran

! { dg-do compile }
! PR 30452 - this used to cause syntax errors due to the presence,
! as characters, of bytes 0xfe and 0xff.
program main
if (char (254) /= "þ") call abort
if (char (255) /= "ÿ") call abort
end program main