view gcc/testsuite/gfortran.dg/fmt_exhaust.f90 @ 128:fe568345ddd5

fix CbC-example
author mir3636
date Wed, 11 Apr 2018 19:32:28 +0900
parents 04ced10e8804
children 84e7813d76e9
line wrap: on
line source

! { 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