RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git] / gcc / testsuite / gfortran.dg / btest_1.f90
blob8a72c314cd59f868d945f261fca85841e84f7fec
1 ! { dg-do compile }
2 program a
3 integer :: i = 42
4 logical l
5 l = btest(i, -1) ! { dg-error "must be nonnegative" }
6 l = btest(i, 65) ! { dg-error "must be less than" }
7 end program a