2 ! Tests the fix for pr32682, in which the scalarization loop variables
3 ! were not being determined when 'c' came first in an expression.
5 ! Contributed by Janus Weil <jaydub66@gmail.com>
10 real,dimension(2,2),parameter::c
=reshape((/1,2,3,4/),(/2,2/))
11 real,dimension(2,2)::m
, n
14 if (any (m
.ne
. reshape((/2,3,4,5/),(/2,2/)))) call abort ()
16 if (any (m
.ne
. reshape((/2,3,4,5/),(/2,2/)))) call abort ()
18 if (any (n
.ne
. reshape((/3,4,5,6/),(/2,2/)))) call abort ()
20 if (any (n
.ne
. reshape((/3,5,7,9/),(/2,2/)))) call abort ()
22 if (any (n
.ne
. reshape((/2,3,4,5/),(/2,2/)))) call abort ()
24 if (any (n
.ne
. reshape((/2,3,4,5/),(/2,2/)))) call abort ()
30 real, dimension(2,2)::f
36 real, dimension(2,2)::a