rt_gccstream/gcc/testsuite/gfortran.dg/pr16433.f

7 lines
252 B
Fortran

! { dg-do compile }
real x
double precision dx
data x/x'2ffde'/ ! { dg-warning "Hexadecimal constant | used to initialize non-integer" }
dx = x ! { dg-bogus "exadecimal constant" "Hex constant where there is none" }
end