2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gfortran.dg / fmt_exhaust.f90
blobbea3f8005325a43fb0d7fbe633cfad8622e68133
1 ! { dg-do run { target fd_truncate } }
2 ! PR27304 Test running out of data descriptors with data remaining.
3 ! Derived from case in PR. Submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org>.
4 program test
5 implicit none
6 integer :: n
7 n = 1
8 write(10,"(i7,(' abcd'))", err=10) n, n
9 call abort()
10 10 close(10, status="delete")
11 end program test