rt_gccstream/gcc/testsuite/gfortran.dg/char_length_11.f90

6 lines
96 B
Fortran
Raw Permalink Normal View History

! { dg-do compile }
character(len=*), parameter :: s = "foo"
write (*,*) adjustr(s(:))
end