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_4.f90
blob
3676558fb2bc50d5394dacb851af4a49f4ef6b7e
1
! { dg-do run }
2
! PR31207 Last record truncated for read after short write
3
program
main
4
character
(
10
) ::
answer
5
write
(
12
,
'(A,T2,A)'
,
advance
=
"no"
)
'XXXXXX'
,
'ABCD'
6
close
(
12
)
7
read
(
12
,
'(6A)'
)
answer
8
close
(
12
,
status
=
"delete"
)
9
if
(
answer
/=
"XABCDX"
)
call
abort
()
10
end program
main