3 character(len
=20) s1
, s2
4 integer, allocatable
:: n(:)
7 write(s2
,'(8(I0,1x))') reshape ([1,2,3,4,5,6], [2,4], [0,0], [2,1])
8 if (trim(s1
) /= trim(s2
)) call abort
9 write(s2
,'(8(I0,1x))') reshape ([1,2,3,4,5,6], [2,4], [0,0], n
)
10 if (trim(s1
) /= trim(s2
)) call abort
11 write(s2
,'(8(I0,1x))') reshape ([1,2,3,4,5,6], [2,4], [0,0], [n
])
12 if (trim(s1
) /= trim(s2
)) call abort