llvm-project/flang/test/Semantics/resolve08.f90

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
219 B
Fortran
Raw Normal View History

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