1 2 3 4 5 6 7 8 9
! { dg-do run } ! PR libfortran/20480 ! fxcoudert@gcc.gnu.org character(len=80) c write (c,'(ES12.3)') 0.0 if (trim(adjustl(c)) .ne. '0.000E+00') call abort () write (c,'(EN12.3)') 0.0 if (trim(adjustl(c)) .ne. '0.000E+00') call abort () end