hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / associate_52.f90
blobc24ec4b8f6a021bc3c3aed15920c442ef98e21e3
1 ! { dg-do compile }
3 ! PR fortran/93427
5 ! Contributed by Andrew Benson
7 module a
9 type :: t
10 end type t
12 contains
14 recursive function b()
15 class(t), pointer :: b
16 type(t) :: c
17 allocate(t :: b)
18 select type (b)
19 type is (t)
20 b=c
21 end select
22 end function b
24 end module a