[LoopReroll] Add an extra defensive check to avoid SCEV assertion.
[llvm-project.git] / flang / test / Semantics / resolve08.f90
blob2a7f68d07c9f695ce926985adb35f3b0b8d10f9b
1 ! RUN: %S/test_errors.sh %s %t %flang_fc1
2 ! REQUIRES: shell
3 integer :: g(10)
4 f(i) = i + 1 ! statement function
5 g(i) = i + 2 ! mis-parsed array assignment
6 !ERROR: 'h' has not been declared as an array
7 h(i) = i + 3
8 end