repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
negative_unit_check.f90
blob
3386676125229c61f5fc53545d4de83d9e53f0ff
1
! { dg-do compile }
2
! Test case from PR61933.
3
LOGICAL
::
file_exists
4
INQUIRE
(
UNIT
=-
1
,
EXIST
=
file_exists
)
! { dg-error "cannot be -1" }
5
INQUIRE
(
UNIT
=-
2
,
EXIST
=
file_exists
)
! { dg-error "cannot be -2" }
6
END