2 ! PR46356 - class arrays
4 ! Contributed by Ian Harvey
6 MODULE procedure_intent_nonsense
15 ! CLASS(Parent), ALLOCATABLE :: a
18 SUBROUTINE vector_operation(pvec)
19 CLASS(ParentVector), INTENT(INOUT) :: pvec(:)
23 CALL item_operation(pvec(i))
25 ! PRINT *, pvec(1)%a%comp
26 END SUBROUTINE vector_operation
28 SUBROUTINE item_operation(pvec)
29 CLASS(ParentVector), INTENT(INOUT) :: pvec
30 !TYPE(ParentVector), INTENT(INOUT) :: pvec
31 END SUBROUTINE item_operation
32 END MODULE procedure_intent_nonsense