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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [list_read_8.f90] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! PR34676 IO error delayed
3
! Test case from PR modified by 
4
implicit none
5
integer::i,badness
6
character::c
7
open(unit=10,status="scratch")
8
write(10,'(a)') '1'
9
write(10,'(a)') '2'
10
write(10,'(a)') '3'
11
rewind(10)
12
do i=1,10
13
  read(10,*,iostat=badness)
14
  if (badness/=0) exit
15
enddo
16
if (i /= 4) call abort
17
end

powered by: WebSVN 2.1.0

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