read_eof.f90: Open scratch file, not /dev/null.
* gfortran.fortran-torture/execute/read_eof.f90: Open scratch file, not /dev/null. Abort on error. From-SVN: r92737
This commit is contained in:
parent
d49b398c60
commit
64f33597f3
@ -1,3 +1,8 @@
|
||||
2004-12-30 David Edelsohn <edelsohn@gnu.org>
|
||||
|
||||
* gfortran.fortran-torture/execute/read_eof.f90: Open scratch
|
||||
file, not /dev/null. Abort on error.
|
||||
|
||||
2004-12-30 Alexander Malmberg <alexander@malmberg.org>
|
||||
Ziemowit Laski <zlaski@apple.com>
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
! PR 13919, segfault when file is empty
|
||||
open(unit=8,file='/dev/null')
|
||||
open(unit=8,status='scratch')
|
||||
read(8,*,end=1)i
|
||||
call abort
|
||||
1 continue
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user