summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/backslash_1.f90
blob: b9851342bb26ec7a54e02ab0d57b70c585fb1585 (plain)
1
2
3
4
5
6
7
8
! { dg-do run }
      character(len=4) a
      open (10, status='scratch')
      write (10,'(A)') '1\n2'
      rewind (10)
      read (10,'(A)') a
      if (a /= '1\n2') call abort
      end