OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [readwrite_unf_direct_eor_1.f90] - Rev 154

Compare with Previous | Blame | View Log

! { dg-do run }
! PR 30056 - exceeding the record length was misrepresented as an EOF
!            on read and ignored on write 
      program main
      integer i,j
      open (10, form="unformatted", access="direct", recl=4)
      write (10, rec=1, err=10) 1,2
      call abort()
 10   continue
      read (10,  rec=1, err=20) i, j
      call abort()
 20   continue
      end

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.