3 ! PR 56385: [4.6/4.7/4.8 Regression] [OOP] ICE with allocatable function result in a procedure-pointer component
5 ! Contributed by Vladimir Fuka <vladimir.fuka@gmail.com>
9 type :: TGeometricShape
12 type :: TVolumeSourceBody
13 class(TGeometricShape
), allocatable
:: GeometricShape
14 procedure(scalar_flux_interface
), pointer :: get_scalar_flux
18 function scalar_flux_interface(self
) result(res
)
20 real, allocatable
:: res(:)
21 class(TVolumeSourceBody
), intent(in
) :: self