PR ipa/83051
[official-gcc.git] / gcc / testsuite / gfortran.dg / io_real_boz_5.f90
bloba908dd7bbc02d0dc2810a118745c814d6afb539c
1 ! { dg-do run }
2 ! { dg-options "-std=f2008" }
3 ! { dg-require-effective-target fortran_real_16 }
5 ! PR fortran/51407
7 ! Invalid in F2008 (accepted with -std=gnu)
8 ! { dg-output "Expected numeric type for item 1 in formatted transfer, got CHARACTER" }
9 ! { dg-shouldfail "Character type in BOZ" }
11 character(len=32) :: str1
12 x = 1.0_16 + 2.0_16**(-105)
13 write (str1,'(z0)') 'X'
14 end