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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [f2003_io_2.f03] - 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 compile }
2
! { dg-options "-std=f2003" }
3
! Test case prepared by Jerry DeLisle  
4
 
5
integer :: istat, idvar
6
character(25) :: msg
7
real, dimension(10) :: a, b
8
 
9
a = 43.21
10
open(10, file='mydata', asynchronous="yes")
11
write(10,'(10f8.3)', asynchronous="yes", decimal="comma") a
12
rewind(10)
13
read(10,'(10f8.3)', asynchronous="yes", decimal="comma", id=idvar) b
14
istat = 123456
15
wait(unit=10, err=25, iostat=istat, iomsg=msg, end=35, id=idvar)
16
 
17
print *, istat
18
 
19
25 continue
20
 
21
35 continue
22
end

powered by: WebSVN 2.1.0

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