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
/
newunit_3.f90
blob
a0e5a8a75a7a9343fe05c33b722f3874e277e7a9
1
! { dg-do run }
2
! PR48960 On ERROR newunit should not modify user variable.
3
program
test_newunit
4
integer
::
st
,
un
=
0
5
open
(
newunit
=
un
,
file
=
'nonexisting.dat'
,
status
=
'old'
,
iostat
=
st
)
6
if
(
un
/=
0
)
call
abort
7
end program
test_newunit