2 ! PR25307 Check handling of end-of-file conditions for list directed reads.
3 ! Prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
5 character(len
=10) :: str
6 character(len
=10) :: a(5)
14 read( str
, *, end=10 ) i
,j
17 if (i
.ne
.123) call abort()
18 if (j
.ne
.0) call abort()
23 read(10, *, end=20) i
,j
26 if (i
.ne
.123) call abort()
27 if (j
.ne
.0) call abort()
28 ! Check internal array unit
32 read(a(1:5:2),*, end=30)i
,j
,k
35 if (i
.ne
.123) call abort()
36 if (j
.ne
.234) call abort()
37 if (k
.ne
.0) call abort()