Retro68/gcc/gcc/testsuite/gfortran.dg/advance_2.f90
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

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