[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / call32.f90
blob80e9c02a7114cf39db448c72d7c493886f96eeed
1 ! RUN: %python %S/test_errors.py %s %flang_fc1 -Werror
2 ! Ensure that a seemingly misparsed function reference is
3 ! not converted to an array references of the same name if
4 ! there's an argument keyword.
5 real array(1)
6 !ERROR: 'array' is not a callable procedure
7 print *, array(argument=1)
8 end