PR libfortran/47757
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr47757-3.f90
blob9bfad82571df116ea2b455b274e1b83885cd7c53
1 ! PR libfortran/47757
2 ! { dg-do run { target fortran_large_int } }
4 character(kind=4):: str(3,3), s(3)
5 str(1,:) = [4_'A', 4_'b', 4_'C']
6 str(2,:) = [4_'A', 4_'b', 4_'C']
7 str(3,:) = [4_'A', 4_'b', 4_'C']
8 s = 4_'A'
9 print *, cshift(str, shift=2_16, dim=1_16)
10 print *, eoshift(str, shift=2_16, dim=1_16)
11 print *, eoshift(str, shift=2_16, boundary=s, dim=1_16)
12 end