4 real :: f(10,10,10,3,4)
5 integer, parameter :: upper(5) = ubound(f
), lower(5) = lbound (f
)
6 integer :: varu(5), varl(5)
10 if (any (varu
/= upper
)) call abort
11 if (any (varl
/= lower
)) call abort
13 call check (f
, upper
, lower
)
14 call check (f
, ubound(f
), lbound(f
))
18 subroutine check (f
, upper
, lower
)
20 integer :: upper(5), lower(5)
23 if (any (ubound(f
) /= upper
)) call abort
24 if (any (lbound(f
) /= lower
)) call abort