2 ! { dg-options "-fdump-tree-original" }
10 type, abstract :: c_abstr
14 type, extends(c_abstr) :: t_a
15 class(c_abstr), allocatable :: f
18 type, extends(c_abstr) :: t_b
24 class(c_abstr), intent(in) :: x
25 type(t_a), intent(out) :: y
26 allocate( y%f , source=x )
45 ! Check to ensure the vtable is actually initialized.
47 ! { dg-final { scan-tree-dump "t_a\\.\\d+\\.f\\._vptr =" "original" } }