2 ! Tests the fix for PR55984.
4 ! Contributed by Sylwester Arabas <slayoo@staszic.waw.pl>
7 type, abstract
:: bcd_t
9 procedure(bcd_fill_halos
), deferred
:: fill_halos
12 subroutine bcd_fill_halos(this
)
21 type, abstract
:: solver_t
23 class(bcd_t
), pointer :: bcx
, bcy
25 procedure(solver_advop
), deferred
:: advop
28 subroutine solver_advop(this
)
30 class(solver_t
) :: this
36 module solver_mpdata_m
39 class(bcd_t
), pointer :: bcx
, bcy
41 procedure
:: advop
=> mpdata_advop
44 subroutine mpdata_advop(this
)
45 class(mpdata_t
) :: this
46 associate ( bcx
=> this
%bcx
, bcy
=> this
%bcy
)
53 class(mpdata_t
), allocatable
:: that
54 call mpdata_advop (that
)