Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/io_real_boz_5.f90 @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 (2017-10-27) |
parents | |
children |
rev | line source |
---|---|
111 | 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 |