summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/fmt_exhaust.f90
blob: 5db340514857f31a64cea05d54f7562fddf33a03 (plain)
1
2
3
4
5
6
7
8
9
10
11
! { 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
      write(10,"(i7,(' abcd'))", err=10) n, n
      call abort()
 10   close(10, status="delete")
      end program test