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
2008-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
list_read_8.f90
blob
4be75fdb4e2a244144ac30be069d51240aac43d3
1
! { dg-do run }
2
! PR34676 IO error delayed
3
! Test case from PR modified by <jvdelisle@gcc.gnu.org>
4
implicit none
5
integer
::
i
,
badness
6
character
::
c
7
open
(
unit
=
10
,
status
=
"scratch"
)
8
write
(
10
,
'(a)'
)
'1'
9
write
(
10
,
'(a)'
)
'2'
10
write
(
10
,
'(a)'
)
'3'
11
rewind
(
10
)
12
do
i
=
1
,
10
13
read
(
10
,*,
iostat
=
badness
)
14
if
(
badness
/=
0
)
exit
15
enddo
16
if
(
i
/=
4
)
call
abort
17
end