summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/comma_format_extension_4.f
blob: 3053d3fb14566f49b7b73e3ccc3073499bcf46c4 (plain)
1
2
3
4
5
6
7
8
9
10
! PR fortran/13257
! Note the missing , before i1 in the format.
! { dg-do run }
! { dg-options "" }
      character*6 c
      write (c,1001) 1
      if (c .ne. '    1 ') call abort

 1001 format (' ',i4' ')
      end