2 ! Test the fix for PR113885, where not only was there a gimplifier ICE
3 ! for a derived type 't' with no components but, with a component, gfortran
5 ! Contributed by David Binderman <dcb314@hotmail.com>
13 pure
subroutine finalize(x
)
14 type(t
), intent(inout
) :: x
15 end subroutine finalize
21 elemental
function elem(x
)
23 type(t
), intent(in
) :: x
34 elemental
function elem(x
)
36 type(t
), intent(in
) :: x
39 elemental
function elem2(x
, y
)
41 type(t
), intent(in
) :: x
, y
46 x
= elem2(elem(x
), elem(x
))