| 1 |
!{ dg-do run } |
| 2 |
|
| 3 |
! Check PR120483 is fixed. |
| 4 |
! Contributed by Thomas Koenig <[email protected]> |
| 5 |
! and Peter Güntert <[email protected]> |
| 6 |
|
| 7 |
program save_8 |
| 8 |
implicit none |
| 9 |
character(len=:), allocatable, save :: s1 |
| 10 |
s1 = 'ABC' |
| 11 |
if (s1(3:3) /= 'C') stop 1 |
| 12 |
end program save_8 |
| 13 |
|