summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/backslash_1.f90
blob: db7ddbc24b7aa29e2019e974f9a21ba499968996 (plain)
1
2
3
4
5
6
7
8
9
! { dg-do run }
! { dg-options "-fno-backslash" }
      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