[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / implicit12.f90
blobbff2cb1545b13ec83727d4b481aad527a8bea71f
1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 use iso_c_binding, only: c_ptr, c_associated
3 implicit none(external)
4 type (c_ptr) :: cptr
5 if (.not. c_associated (cptr)) then
6 return
7 end if
8 end