PR middle-end/77674
[official-gcc.git] / gcc / testsuite / gfortran.dg / finalize_19.f90
blob1eeb6af658e30d89d1ca2c63cd611fa2f7fbb553
1 ! { dg-do compile }
3 ! PR fortran/58356
5 ! Contributed by Andrew Benson
7 module ct
8 type :: cfl
9 contains
10 final :: cfld
11 end type cfl
12 type, extends(cfl) :: cfde
13 contains
14 end type cfde
15 contains
16 subroutine cfld(self)
17 implicit none
18 type(cfl), intent(inout) :: self
19 return
20 end subroutine cfld
21 end module ct