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
2009-10-05 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
open_status_1.f90
blob
df44a4461a83d21d45061e181d4af7400d85d2c7
1
! { dg-do run }
2
! Test reopening with io status='old'
3
program
iostatus
4
open
(
1
,
file
=
'foo'
,
status
=
'replace'
)
! Make sure file exists.
5
open
(
1
,
file
=
'foo'
,
status
=
'old'
)
6
open
(
1
,
file
=
'foo'
,
status
=
'old'
)
7
close
(
1
,
status
=
'delete'
)
8
end program
iostatus