repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2015-07-03 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
advance_3.f90
blob
7a361d27b1eedc84bc5c6eac409758da2a64742b
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