2 ! { dg-options "-std=f2003" }
3 ! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
5 integer :: istat, idvar
7 real, dimension(10) :: a, b
10 open(10, file='mydata_f2003_io_2', asynchronous="yes")
11 write(10,'(10f8.3)', asynchronous="yes", decimal="comma") a
13 read(10,'(10f8.3)', asynchronous="yes", decimal="comma", id=idvar) b
15 wait(unit=10, err=25, iostat=istat, iomsg=msg, end=35, id=idvar)