Mercurial > hg > CbC > CbC_gcc
annotate 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 |
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 |