6 ! TYPE => CLASS pointer assignment for functions
15 class(t
), pointer :: f1
20 class(t
), pointer :: f2(:)
22 f2(:)%ii
= [-11,-22,-33]
29 type(t
), pointer :: p1
, p2(:),p3(:,:)
31 if (p1
%ii
/= 123) call abort ()
33 if (any (p2
%ii
/= [-11,-22,-33])) call abort ()
35 if (any (p3(2,:)%ii
/= [-11,-22,-33])) call abort ()