mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 23:00:52 +08:00
re PR fortran/40714 (Fortran runtime error: Invalid argument)
2009-07-19 Janne Blomqvist <jb@gcc.gnu.org> Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/40714 * gfortran.dg/eof_3.f90: New test. Co-Authored-By: Jerry DeLisle <jvdelisle@gcc.gnu.org> From-SVN: r149797
This commit is contained in:
parent
eab09a51ff
commit
d2b00a893b
@ -1,3 +1,9 @@
|
||||
2009-07-19 Janne Blomqvist <jb@gcc.gnu.org>
|
||||
Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libfortran/40714
|
||||
* gfortran.dg/eof_3.f90: New test.
|
||||
|
||||
2009-07-18 Steven G. Kargl <kargl@gcc.gnu.org>
|
||||
|
||||
PR fortran/40727
|
||||
|
8
gcc/testsuite/gfortran.dg/eof_3.f90
Normal file
8
gcc/testsuite/gfortran.dg/eof_3.f90
Normal file
@ -0,0 +1,8 @@
|
||||
! { dg-do run }
|
||||
! PR40714 A read hitting EOF should leave the unit structure in a correct state
|
||||
program test
|
||||
open(unit=32,status="scratch",access="sequential",form="unformatted")
|
||||
read(32,end=100)
|
||||
100 continue
|
||||
write (32)
|
||||
end program test
|
Loading…
x
Reference in New Issue
Block a user