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
coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
endfile_2.f90
blob
e91e80eb2aa80c18f722cb67b93abeb0760d224f
1
! { dg-do run }
2
! pr18778 abort on endfile without opening unit
3
program
test
4
implicit none
5
integer
i
6
endfile
(
8
)
7
rewind
(
8
)
8
read
(
8
,
end
=
0023
)
i
9
call
abort
! should never get here
10
stop
11
0023
continue
12
close
(
8
,
status
=
'delete'
)
13
end