! { dg-do run }! { dg-options "-std=legacy" }!! Verify that the D format uses 'D' as the exponent character.! " " " E " " 'E' " " " " CHARACTER*10c1,c2REAL(kind=8)rr=1.0write(c1,"(e9.2)")rwrite(c2,"(d9.2)")rif(trim(adjustl(c1)).ne."0.10E+01")call abort()if(trim(adjustl(c2)).ne."0.10D+01")call abort()END