bolt/deps/llvm-18.1.8/flang/test/Semantics/definable03.f90
2025-02-14 19:21:04 +01:00

8 lines
215 B
Fortran

! RUN: %python %S/test_errors.py %s %flang_fc1
subroutine sub(j)
integer, intent(in) :: j
!ERROR: 'j' may not be used as a DO variable
!BECAUSE: 'j' is an INTENT(IN) dummy argument
do j = 1, 10
end do
end