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