OSDN Git Service

2006-11-22 Paul Thomas <pault@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / advance_3.f90
1 subroutine foo
2   real :: a
3   a = 1
4   write(*, '(a)', advance=a) "hello world" ! { dg-error "must be of type CHARACTER" }
5 end subroutine foo
6 subroutine bar
7   write(*, '(a)', advance=5.) "hello world" ! { dg-error "must be of type CHARACTER" }
8 end subroutine bar