summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/dollar_edit_descriptor_1.f
blob: af22c4536362f9d56593e408961f89e976fd9317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! { dg-do run }
! { dg-options "-w" }
! PR libfortran/20006
      character*5 c
      open (42,status='scratch')
      write (42,'(A,$)') 'abc'
      write (42,'(A)') 'de'
      rewind (42)
      read (42,'(A)') c
      close (42)

      if (c /= 'abcde') call abort
      end