3 ! Check fix for pr71936.
4 ! Contributed by Gerhard Steinmetz
16 class(t), pointer :: f_p(:)
21 class(t), allocatable :: f_a(:)
25 class(t), allocatable :: x(:)
26 allocate (x, mold=f_a())
28 allocate (x, source=f_a())
32 class(t), pointer :: x(:)
33 allocate (x, mold=f_p())
35 allocate (x, source=f_p())
39 class(t), pointer :: x(:)
40 allocate (x, mold=f_a())
42 allocate (x, source=f_a())
46 class(t), allocatable :: x(:)
47 allocate (x, mold=f_p())
49 allocate (x, source=f_p())