Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gfortran.fortran-torture / execute / unopened_unit_1.f90
blob0ca4f08d7e147141b29a3fc59a097ee28ff695f6
1 ! PR 14565
2 program unopened_unit_1
3 Integer I,J
4 Do I = 1,10
5 Write(99,*)I
6 End Do
7 Rewind(99)
8 Do I = 1,10
9 Read(99,*)J
10 If (J.ne.I) STOP 1
11 End Do
12 Close(99, Status='Delete')
13 End program