1 ! Program to test nested forall
7 a(:,:,1) = reshape((/ 1, 2, 3, 4,&
10 13,14,15,16/), (/4,4/))
11 a(:,:,2) = a(:,:,1) + 16
14 ! Mirror half the matrix
22 .ne
. reshape((/ 1, 5, 9,13,&
25 4,14,15,16/),(/4,4/)))) call abort
26 if (any (a(:,:,2) .ne
. a(:,:,1) + 16)) call abort