PR target/83368
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr50069_1.f90
blob74890fad6c408f17ad850a506fa081b556f333d4
1 ! { dg-do run }
3 implicit none
4 integer i
5 character(LEN=6) :: a(1) = "123456"
6 forall (i = 3:4) a(1)(i:i+2) = a(1)(i-2:i)
7 !print *,a ! displays '12@' must be '121234'
8 IF (a(1) .ne. "121234") call abort
9 end