2 ! PR 31196 - reshape of transposed derived types generated
9 character (len
=20) line1
, line2
10 TYPE(datatype
), dimension(2,2) :: data, result
15 write (unit
=line1
, fmt
="(4I4)") reshape(transpose(data),shape(data))
16 write (unit
=line2
, fmt
="(4I4)") (/ 1, 3, 2, 4 /)
17 if (line1
/= line2
) STOP 1