Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/fmt_white.f @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
! { dg-do run } ! { dg-options "-std=legacy" } ! ! PR24268 Test case derived from example given by Iwan Kawrakow ! Embedded spaces in format strings should be ignored. ! Prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org> program pr24268 real x character*13 line line = "12.34" read(line,*) x write(line,10) x 10 format(g1 * 1.4) if (line.ne." 12.34") STOP 1 line = "" write(line,20) x 20 format(t r 2 , g 1 1 . 4) if (line.ne." 12.34") STOP 2 end