[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / resolve106.f90
blobb8215f7232259020bf40910038ef1fe685aa12f0
1 !RUN: %flang -fsyntax-only %s 2>&1 | FileCheck %s
2 integer, parameter :: j = 10
3 ! CHECK: Implied DO index 'j' uses an object of the same name in its bounds expressions
4 real :: a(10) = [(j, j=1,j)]
5 end