2 ! PR48976 test case by jvdelisle@gcc.gnu.org
3 character(len
=20) :: str
5 inquire(file
="abcddummy", stream
=str
)
7 if (str
/= "UNKNOWN") STOP 1
8 inquire(99, stream
=str
)
10 if (str
/= "UNKNOWN") STOP 2
11 open(99,access
="stream")
12 inquire(99, stream
=str
)
14 if (str
/= "YES") goto 10
16 open(99,access
="direct", recl
=16)
17 inquire(99, stream
=str
)
19 if (str
/= "NO") goto 10
21 open(99,access
="sequential")
22 inquire(99, stream
=str
)
24 if (str
/= "NO") goto 10
25 close(99, status
="delete")
27 10 close(99, status
="delete")