2 ! PR46842 wrong results with MATMUL(..., TRANSPOSE (func ()))
7 real, dimension(2,2) :: b
9 b
= matmul(b
,transpose(func()))
10 if (any(b
.ne
.reshape((/ 4.0, 4.0, 6.0, 6.0 /),[2,2]) )) print *, b
13 function func() result(res
)
14 real, dimension(2,2) :: res
15 res
= reshape([1,2,3,4], [2,2])