aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/fmt_f_an_p.f
blob: e492cec380ad8b38e0df8c0345fc52f966b7a62d (plain)
1
2
3
4
5
6
7
8
9
10
! { 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