8 print *, lbound(a
), ubound(a
), size(a
)
9 if ((lbound(a
,dim
=1) /= 1) .or
. (ubound(a
,dim
=1) /= 3)) &
12 if (any(a
/= [1,2,3])) call abort()
23 ! The following interface block is needed
24 ! for NAG f95 as it wrongly does not like
25 ! use-associated interfaces for PROCEDURE
26 ! (It is not needed for gfortran)
33 call f([1,2,3]) ! Was failing before
41 call f([1,2,3]) ! Works