1! RUN: %S/test_errors.sh %s %t %flang_fc1
2! REQUIRES: shell
3integer :: g(10)
4f(i) = i + 1  ! statement function
5g(i) = i + 2  ! mis-parsed array assignment
6!ERROR: 'h' has not been declared as an array
7h(i) = i + 3
8end
9