3 ! PR 55037: [4.8 Regression] [OOP] ICE with local allocatable variable of abstract type
5 ! Contributed by <mrestelli@gmail.com>
9 type, abstract :: c_stv
11 procedure, pass(x) :: source
14 pure subroutine source(y,x)
15 class(c_stv), intent(in) :: x
16 class(c_stv), allocatable, intent(out) :: y
25 class(c_stv), intent(inout) :: u0
26 class(c_stv), allocatable :: tmp
36 class(c_stv), allocatable :: tmp
40 type(c_stv), allocatable, intent(out) :: y
44 ! { dg-final { cleanup-modules "m1 m2" } }