5 ! Handle type/class for assumed-rank arrays
7 ! FIXME: Passing a CLASS to a CLASS has to be re-enabled.
13 class(T
), allocatable
:: ac(:,:)
14 type(T
), allocatable
:: at(:,:)
25 if (i
/= 12) call abort()
30 if (lbound(x
,1) /= 1 .or
. lbound(x
,2) /= 1) call abort()
31 if (size(x
) /= 6) call abort()
32 if (size(x
,1) /= 2 .or
. size(x
,2) /= 3) call abort()
33 if (ubound(x
,1) /= 2 .or
. ubound(x
,2) /= 3) call abort()
40 if (lbound(x
,1) /= 1 .or
. lbound(x
,2) /= 1) call abort()
41 if (size(x
) /= 6) call abort()
42 if (size(x
,1) /= 2 .or
. size(x
,2) /= 3) call abort()
43 if (ubound(x
,1) /= 2 .or
. ubound(x
,2) /= 3) call abort()
48 if (lbound(x
,1) /= 1 .or
. lbound(x
,2) /= 1) call abort()
49 if (size(x
) /= 6) call abort()
50 if (size(x
,1) /= 2 .or
. size(x
,2) /= 3) call abort()
51 if (ubound(x
,1) /= 2 .or
. ubound(x
,2) /= 3) call abort()
54 ! call bar2(x) ! Passing a CLASS to a TYPE does not yet work
58 if (lbound(x
,1) /= 1 .or
. lbound(x
,2) /= 1) call abort()
59 if (size(x
) /= 6) call abort()
60 if (size(x
,1) /= 2 .or
. size(x
,2) /= 3) call abort()
61 if (ubound(x
,1) /= 2 .or
. ubound(x
,2) /= 3) call abort()