4 character(len
=20) :: n
= 'data'
7 inquire(file
=n
,unit
=d
,opened
=a
) ! { dg-error "contain both FILE and UNIT" }
8 inquire(unit
=d
,file
=n
,opened
=a
) ! { dg-error "contain both FILE and UNIT" }
9 inquire(opened
=a
) ! { dg-error "requires either FILE or UNIT" }