1 ! RUN: %python %S/test_errors.py %s %flang_fc1
4 elemental
subroutine inout(x
)
5 integer, intent(inout
) :: x
9 !ERROR: Left-hand side of assignment is not definable
10 !BECAUSE: Variable has a vector subscript with a duplicated element
12 !ERROR: Actual argument associated with INTENT(IN OUT) dummy argument 'x=' is not definable
13 !BECAUSE: Variable has a vector subscript with a duplicated element
14 call inout(x([(mod(j
-1,2)+1,j
=1,10)]))
15 !ERROR: Input variable 'x' is not definable
16 !BECAUSE: Variable has a vector subscript with a duplicated element