1! RUN: %S/test_any.sh %s %flang %t
2! C1122 The index-name shall be a named scalar variable of type integer.
3! EXEC: ${F18} -funparse-with-symbols %s 2>&1 | ${FileCheck} %s
4! CHECK: Must have INTEGER type, but is REAL\\(4\\)
5
6subroutine do_concurrent_test1(n)
7  implicit none
8  integer :: n
9  real :: j
10  do 20 concurrent (j = 1:n)
1120 enddo
12end subroutine do_concurrent_test1
13