summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/advance_2.f90
blob: 1e83aaee31673d3cee6305ecc70676a77fa29e25 (plain)
1
2
3
4
5
6
! { dg-do compile }
subroutine foo
  character(len=5) :: a
  a = "yes"
  write(*, '(a)', advance=a) "hello world"
end subroutine foo