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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [readwrite_unf_direct_eor_1.f90] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! PR 30056 - exceeding the record length was misrepresented as an EOF
3
!            on read and ignored on write
4
      program main
5
      integer i,j
6
      open (10, form="unformatted", access="direct", recl=4)
7
      write (10, rec=1, err=10) 1,2
8
      call abort()
9
 10   continue
10
      read (10,  rec=1, err=20) i, j
11
      call abort()
12
 20   continue
13
      end

powered by: WebSVN 2.1.0

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