blob: 736a22fa3e5f5ce112ca7991e091d9cbc0ccc458 [file] [log] [blame]
! 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