OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR target/35944
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gfortran.dg
/
advance_3.f90
1
! { dg-do compile }
2
subroutine foo
3
real :: a
4
a = 1
5
write(*, '(a)', advance=a) "hello world" ! { dg-error "must be of type CHARACTER" }
6
end subroutine foo
7
subroutine bar
8
write(*, '(a)', advance=5.) "hello world" ! { dg-error "must be of type CHARACTER" }
9
end subroutine bar