2 ! PR 25217: INTENT(OUT) dummies of derived type with default initializers shall
3 ! be (re)initialized upon procedure entry, unless they are ALLOCATABLE.
9 integer :: a(3) = [ 1, 2, 3 ]
10 character(3) :: s = "abc"
11 real, pointer :: p => null()
14 type(drv), allocatable :: ab(:)
27 type(drv), intent(out) :: fa
29 if (any(fa%a /= [ 1, 2, 3 ])) call abort()
30 if (fa%s /= "abc") call abort()
31 if (associated(fa%p)) call abort()
35 type(drv), allocatable, intent(out) :: fa(:)