1 ! Test for the MVBITS subroutine
2 ! This used to fail on big-endian architectures (PR 32357)
4 integer(kind
=8) :: i8
= 0
5 integer(kind
=4) :: i4
= 0
6 integer(kind
=2) :: i2
= 0
7 integer(kind
=1) :: i1
= 0
8 call mvbits (1_1, 0, 8, i1
, 0)
10 call mvbits (1_2, 0, 16, i2
, 0)
12 call mvbits (1_4, 0, 16, i4
, 0)
14 call mvbits (1_8, 0, 16, i8
, 0)