Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gfortran.dg
/
negative_unit_check.f90
blob: 3386676125229c61f5fc53545d4de83d9e53f0ff [
file
] [
log
] [
blame
]
!
{
dg
-
do
compile
}
!
Test
case
from
PR61933
.
LOGICAL
::
file_exists
INQUIRE
(
UNIT
=-
1
,
EXIST
=
file_exists
)!
{
dg
-
error
"cannot be -1"
}
INQUIRE
(
UNIT
=-
2
,
EXIST
=
file_exists
)!
{
dg
-
error
"cannot be -2"
}
END