Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/io_real_boz_5.f90 @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do run } ! { dg-options "-std=f2008" } ! { dg-require-effective-target fortran_real_16 } ! ! PR fortran/51407 ! ! Invalid in F2008 (accepted with -std=gnu) ! { dg-output "Expected numeric type for item 1 in formatted transfer, got CHARACTER" } ! { dg-shouldfail "Character type in BOZ" } ! character(len=32) :: str1 x = 1.0_16 + 2.0_16**(-105) write (str1,'(z0)') 'X' end