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

7 lines
133 B
Fortran

! { dg-do compile }
subroutine foo
character(len=5) :: a
a = "yes"
write(*, '(a)', advance=a) "hello world"
end subroutine foo