6 ! The module is contributed by Satish.BD <bdsatish@gmail.com>.
7 ! The subroutines are from Tobias Burnus and Steve Kargl.
11 type, abstract
:: abst
15 type, extends(abst
) :: real_type
21 function create(name
) result(obj
)
22 character(len
=*), intent(in
) :: name
23 class(abst
), pointer :: obj
24 allocate(real_type
:: obj
)
29 real(8), allocatable
:: r8
30 allocate(real(kind
=8) :: r8
)
34 real(8), allocatable
:: r8
35 allocate(real(8) :: r8
)
37 ! { dg-final { cleanup-modules "temp" } }