2 ! PR26464 File I
/O error related
to buffering and BACKSPACE
3 ! Test case derived from case by Dale Ranta
.
4 ! Submitted by Jerry DeLisle
<jvdelisle@gcc
.gnu
.org
>
6 integer,parameter :: datasize
= 1000
7 dimension idata
(datasize
)
9 open
(11, status
="scratch", form
="unformatted")
22 read(11,end= 1000 )idata
28 read(11,end= 1001 )idata
29 if(idata
(1).ne
.-3 .or
. idata
(datasize
).ne
.-4) call abort
()