2 ! Test cshift where the values are eight bytes,
3 ! but are aligned on a four-byte boundary. The
4 ! integers correspond to NaN values.
12 type(t
), dimension(4) :: u
,v
19 u
%b
= (/(i
,i
=-1,-4,-1)/)
20 v(1:3:2) = cshift(u(1:3:2),1)
21 v(2:4:2) = cshift(u(2:4:2),-1)
22 if (any(v
%a
/= (/-5242880, -3145728, 2142240768, 2144337920 /))) STOP 1
23 if (any(v
%b
/= (/-3, -4, -1, -2/))) STOP 2