3 ! Check whether registering allocatable coarrays works
9 integer, allocatable
:: a
[:]
10 type(position
), allocatable
:: p
[:]
20 if (a
/= 7) call abort()
22 if (a
/= 88) call abort()
24 if (p
%x
/= 11) call abort()
26 if (p
%x
/= 17) call abort()
29 integer, allocatable
:: b
[:]
34 if (b
/= 8494) call abort()
37 if (a
/= 88) call abort()
46 real, allocatable
:: z
[:]
47 type(velocity
), allocatable
:: v
[:]
57 if (z
/= sqrt(2.0)) call abort()
58 if (v
%x
/= 21) call abort()