1! { dg-do run } 2! { dg-options "-std=f2008" } 3! { dg-require-effective-target fortran_real_16 } 4! 5! PR fortran/51407 6! 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" } 10! 11 character(len=32) :: str1 12 x = 1.0_16 + 2.0_16**(-105) 13 write (str1,'(z0)') 'X' 14 end 15