summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/fmt_exhaust.f90
blob: bd9c8bcfb3f9a4c11d686c821dbb623da6463252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { dg-do run }
! PR27304 Test running out of data descriptors with data remaining.
! Derived from case in PR.  Submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org>.
      program test
      implicit none
      integer :: n
      n = 1
      open(10, status="scratch")
      write(10,"(i7,(' abcd'))", err=10) n, n
      call abort()
 10   close(10)
      end program test