2006-10-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / advance_3.f90
blob49b17556f69d575a58e3a2526364a73ecce05e2a
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