2 ! PR43409 I/O: INQUIRE for SIZE does not work.
4 character(30) :: aname
= "noname"
7 open(25, file
="testfile", status
="replace", access
="stream", form
="unformatted")
9 write(25) i
, "abcdefghijklmnopqrstuvwxyz"
13 inquire(unit
=25, named
=is_named
, name
=aname
, size
=i
)
14 if (.not
.is_named
) call abort
15 if (aname
/= "testfile") call abort
16 if (i
/= 3000) call abort
18 inquire(file
="testfile", size
=i
)
19 if (.not
.is_named
) call abort
20 if (aname
/= "testfile") call abort
21 if (i
/= 3000) call abort
23 close(25, status
="delete")
24 inquire(file
="testfile", size
=i
)
25 if (i
/= -1) call abort