(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
finalize_19.f90
! { dg-do compile }
!
! PR fortran/58356
!
! Contributed by Andrew Benson
!
module ct
  type :: cfl
   contains
     final :: cfld
  end type cfl
  type, extends(cfl) :: cfde
   contains
  end type cfde
contains
  subroutine cfld(self)
    implicit none
    type(cfl), intent(inout) :: self
    return
  end subroutine cfld
end module ct