2 ! { dg-options "-fdump-tree-original" }
4 ! Test the fix for PR100098
14 class(foo_t
), pointer :: bar_p(:)
15 class(foo_t
), allocatable
:: bar_a(:)
22 subroutine foo_p(that
)
23 class(foo_t
), pointer, intent(out
) :: that(..)
32 subroutine foo_a(that
)
33 class(foo_t
), allocatable
, intent(out
) :: that(..)
44 ! { dg-final { scan-tree-dump "bar_a._data.dtype = \\{.* .rank=1,.*\\}" "original" } }
45 ! { dg-final { scan-tree-dump "bar_p._data.dtype = \\{.* .rank=1,.*\\}" "original" } }