2 ! { dg-require-effective-target lp64 }
3 ! { dg-require-effective-target fortran_integer_16 }
6 integer, intent(in
) :: i
10 print *, s(1:2_16**64_16+3_16) ! { dg-error "too large" }
11 print *, s(2_16**64_16+3_16:2_16**64_16+4_16) ! { dg-error "too large" }
12 print *, len(s(1:2_16**64_16+3_16)) ! { dg-error "too large" }
13 print *, len(s(2_16**64_16+3_16:2_16**64_16+4_16)) ! { dg-error "too large" }
15 print *, s(2_16**64_16+3_16:1)
16 print *, s(2_16**64_16+4_16:2_16**64_16+3_16)
17 print *, len(s(2_16**64_16+3_16:1))
18 print *, len(s(2_16**64_16+4_16:2_16**64_16+3_16))