2 ! { dg-require-effective-target fortran_large_int }
3 ! Test that the internal pack and unpack routines work OK
4 ! for our large integer type.
7 integer,parameter :: k
= selected_int_kind (range (0_8) + 1)
8 integer(kind
=k
), dimension(3) :: ik
11 call sub_ik(ik(1:3:2))
12 if (any(ik
/= (/ 3, 1, 2 /))) call abort
16 integer,parameter :: k
= selected_int_kind (range (0_8) + 1)
17 integer(kind
=k
), dimension(2) :: i
18 if (i(1) /= -1) call abort
19 if (i(2) /= -3) call abort