!{ dg-do run } ! Check PR120483 is fixed. ! Contributed by Thomas Koenig ! and Peter Güntert program save_8 implicit none character(len=:), allocatable, save :: s1 s1 = 'ABC' if (s1(3:3) /= 'C') stop 1 end program save_8