1 ! Program to test the ANY and ALL intrinsics
4 logical, dimension(3, 3) :: a
5 logical, dimension(3) :: b
12 if (.not
. any(a
)) call abort
14 if (.not
. b(1)) call abort
16 if (.not
. b(3)) call abort
18 write (line
, 9000) any(a
,1)
20 if (.not
. b(1)) call abort
22 if (.not
. b(3)) call abort
25 if (.not
. all(a
)) call abort
28 if (all(a
)) call abort
31 if (.not
. b(2)) call abort
34 write (line
, 9000) all(a
,1)
37 if (.not
. b(2)) call abort