2 ! PR25835 Check that reading from a file that is at end-of-file does not
3 ! segfault or give error. Test case derived from example in PR from Dale Ranta.
4 ! Contributed by Jerry DeLisle <jvdelisle@gcc.gnu.org>
7 open(unit
=11,status
='scratch', form
='unformatted')
10 read(11,end= 1000 )data
16 read(11,end= 1001 )data
22 read(11,end= 1002 )data
23 if (.not
. all(data == -256)) call abort()
25 read(11,end= 1003 )data