☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
read_empty_file.f
☽
☼
gcc/testsuite/gfortran.dg/read_empty_file.f
code
plain
raw
1
! { dg-do run }
2
! PR43320 Missing EOF on read from empty file.
3
open(8,status='scratch',form='formatted') ! Create empty file
4
read(8,'(a80)', end=123) ! Reading from an empty file should be an EOF
5
STOP 1
6
123 continue
7
end