Merge from mainline.
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr20755.f
blobe2bac5a7dccc9f27a9f146f1f2b9a8d0e84a8ef5
1 ! PR libfortran/20755
2 ! { dg-do run }
3 character*30 s
5 write (s,2000) 0.0, 0.02
6 if (s .ne. " 0.00 2.000E-02") call abort
7 write (s,2000) 0.01, 0.02
8 if (s .ne. " 1.000E-02 2.000E-02") call abort
9 2000 format (1PG12.3,G12.3)
10 end