hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / nan_4.f90
blob0821b0f63025c836cbcda7a65d8013152b5ac3c1
1 ! { dg-do compile }
2 ! { dg-options "-std=gnu -fallow-invalid-boz" }
3 ! { dg-add-options ieee }
5 ! PR fortran/34398.
7 ! Check for invalid numbers in bit-wise BOZ transfers
9 program test
10 implicit none
11 real(4), parameter :: r0 = z'FFFFFFFF' ! { dg-warning "BOZ literal constant" }
12 real(4) r
13 data r/z'FFFFFFFF'/ ! { dg-warning "BOZ literal constant" }
14 r = z'FFFFFFFF' ! { dg-warning "BOZ literal constant" }
15 end program test