Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gfortran.fortran-torture / execute / slash_edit.f90
blob406db9bf319254e7b7a730d698ca3db5acf3326f
1 ! pr 14762 - '/' not working in format
2 INTEGER N(5)
3 DATA N/1,2,3,4,5/
4 OPEN(UNIT=7)
5 100 FORMAT(I4)
6 WRITE(7,100)N
7 CLOSE(7)
8 OPEN(7)
9 200 FORMAT(I4,///I4)
10 READ(7,200)I,J
11 CLOSE(7, STATUS='DELETE')
12 IF (I.NE.1) STOP 1
13 IF (J.NE.4) STOP 2
14 END