[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / resolve08.f90
blobb485f4c11bdf985fcf27d0d9ac08d38f1f713137
1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 integer :: g(10)
3 f(i) = i + 1 ! statement function
4 g(i) = i + 2 ! mis-parsed array assignment
5 !ERROR: 'h' has not been declared as an array
6 h(i) = i + 3
7 end