view gcc/testsuite/gfortran.dg/fmt_f_an_p.f @ 128:fe568345ddd5

fix CbC-example
author mir3636
date Wed, 11 Apr 2018 19:32:28 +0900
parents 04ced10e8804
children 84e7813d76e9
line wrap: on
line source

! { dg-do run }
! PR38285 wrong i/o output: interaction between f and p for output
! Special case of kPFw.d when d = 0
      program f_and_p
      character(28) string
      write(string,1) 3742. , 0.3742
    1 format ( f14.0, 4pf14.0 )
      if (string.ne."         3742.         3742.") call abort
      end program f_and_p