view gcc/testsuite/gfortran.dg/pr20755.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

! PR libfortran/20755
! { dg-do run }
! { dg-options "-std=legacy" }
!
      character*30 s
      
      write (s,2000) 0.0, 0.02
      if (s .ne. "    0.00       2.000E-02") STOP 1
      write (s,2000) 0.01, 0.02
      if (s .ne. "   1.000E-02   2.000E-02") STOP 2
 2000 format (1PG12.3,G12.3)
      end