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
2014-07-12 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
internal_readwrite_3.f90
blob
279fac5a6d8429c6ab32e93bedccd60e02e839df
1
! { dg-do run }
2
! PR 52724 - this used to generate a "Bad integer" error.
3
program
main
4
implicit none
5
integer
::
i
6
character
(
len
=
100
,
kind
=
4
) ::
buffer
,
a
7
buffer
=
4
_
"123"
8
read
(
buffer
,*)
i
9
write
(
a
,
'(I3)'
)
i
10
if
(
a
/=
4
_
"123"
)
call
abort
11
end program
main