4 ! Coarray subobjects were not accepted as valid coarrays
7 integer, parameter :: la = 4, lb = 5, lc = 8
8 integer, parameter :: init(la) = -4 + (/ (i, i=1,la) /)
14 type(t), allocatable :: a[:]
17 type(t), allocatable :: a(:)[:]
25 if (b%a%i /= 7) call abort
26 if (any (lcobound(b%a) /= (/ lb /))) call abort
27 if (ucobound(b%a, dim=1) /= this_image() + lb - 1) call abort
28 if (any (lcobound(b%a%i) /= (/ lb /))) call abort
29 if (ucobound(b%a%i, dim=1) /= this_image() + lb - 1) call abort
30 allocate(c%a(la)[lc:*])
32 if (any(c%a%i /= init)) call abort
33 if (any (lcobound(c%a) /= (/ lc /))) call abort
34 if (ucobound(c%a, dim=1) /= this_image() + lc - 1) call abort
35 if (any (lcobound(c%a%i) /= (/ lc /))) call abort
36 if (ucobound(c%a%i, dim=1) /= this_image() + lc - 1) call abort
37 if (c%a(2)%i /= init(2)) call abort
38 if (any (lcobound(c%a(2)) /= (/ lc /))) call abort
39 if (ucobound(c%a(2), dim=1) /= this_image() + lc - 1) call abort
40 if (any (lcobound(c%a(2)%i) /= (/ lc /))) call abort
41 if (ucobound(c%a(2)%i, dim=1) /= this_image() + lc - 1) call abort