blob: 002b5b4ac8279b6114762d3c473525c9be704305 [file] [log] [blame]
! { dg-do compile }
! Test case from PR61933.
LOGICAL :: file_exists
INQUIRE(UNIT=-1,EXIST=file_exists)! { dg-error "can not be -1" }
INQUIRE(UNIT=-2,EXIST=file_exists)! { dg-error "can not be -2" }
END