1 ! Program to test the FORALL construct
4 integer, dimension (3, 3) :: a
5 integer, dimension (3) :: b
8 a = reshape ((/1, 2, 3, 4, 5, 6, 7, 8, 9/), (/3, 3/));
14 if (b(1) .ne. 6) call abort
15 if (b(2) .ne. 15) call abort
16 if (b(3) .ne. 24) call abort