[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / implicit09.f90
blob95bfd4e9e66bb82157992c690af81a6f02f8e76e
1 ! RUN: %python %S/test_errors.py %s %flang_fc1 -fimplicit-none-type-never
2 subroutine s1
3 implicit none
4 i = j + k ! would be error without -fimplicit-none-type-never
5 end
7 subroutine s2(a, n)
8 implicit none
9 real :: a(n) ! would be error without -fimplicit-none-type-never
10 integer :: n
11 end