aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/write_direct_eor.f90
blob: 9044642df82f39fefa0c4a8b8986f561116aae3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { dg-do run }
! PR26509 : Writing beyond fixed length direct access records.
! Test case derived from PR.
! Submitted  by Jerry Delisle <jvdelisle@gcc.gnu.org>.
program testrecl
      implicit none
      open(unit = 10, form = 'unformatted', access = 'direct', recl = 4)
      write(unit=10,rec=1, err=100) 1d0
      call abort()
 100  continue
      close(unit=10, status='delete')
      end