2 ! Test case from PR61933.
5 integer :: tunit
, istat
7 tunit
=-1 ! Represents an internal unit.
9 inquire(unit
=tunit
, exist
=unit_exists
, iostat
=istat
)
10 !print *, "Error Code is : ", IOSTAT_INQUIRE_INTERNAL_UNIT
11 !print *, "IOSTAT Code is: ", istat
12 !print *, tunit, unit_exists
13 if (istat
.ne
.iostat_inquire_internal_unit
) call abort()
14 if (unit_exists
) call abort()