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
PR ipa/83051
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
negative_unit2.f90
blob
e7fb85e5bffc0ccc99281141d39a6ea193001ec2
1
! { dg-do run }
2
! Test case submitted by Dominique d'Humieres
3
program
negative_unit2
4
integer
::
i
,
j
5
! i should be <= NEWUNIT_FIRST in libgfortran/io/unit.c
6
i
= -
100
7
write
(
unit
=
i
,
fmt
=*,
iostat
=
j
)
10
8
if
(
j
==
0
)
call
abort
9
end program
negative_unit2