3 ! Test that pr78356 is fixed.
4 ! Contributed by Janus Weil and Andrew Benson
10 type, extends(ac) :: a
11 integer, allocatable :: b
14 class(ac), allocatable :: acr(:)
17 allocate(a :: s%acr(1))
19 select type (cl => t%acr(1))
21 if (allocated(cl%b)) error stop
26 subroutine nncp(self,tg)
28 allocate(tg%acr(1),source=self%acr(1))