Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gfortran.dg
/
internal_readwrite_3.f90
blob: 245a778ddeb29055f87e52ae80c1edc8384bff6f [
file
] [
log
] [
blame
]
!
{
dg
-
do
run
}
!
PR
52724
-
this
used to generate a
"Bad integer"
error
.
program main
implicit
none
integer
::
i
character
(
len
=
100
,
kind
=
4
)
::
buffer
,
a
buffer
=
4
_
"123"
read
(
buffer
,*)
i
write
(
a
,
'(I3)'
)
i
if
(
a
/=
4
_
"123"
)
STOP
1
end
program main