RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git] / gcc / testsuite / gfortran.dg / negative_unit_check.f90
blob3386676125229c61f5fc53545d4de83d9e53f0ff
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