PR libfortran/23262
[official-gcc.git] / gcc / testsuite / gfortran.dg / backspace.f90
blob4f0b9e975d63100c43d642e4c92c23695fe33054
1 ! { dg-do run }
2 !pr18284 BACKSPACE broken
3 open(unit=10,access='SEQUENTIAL',status='SCRATCH')
4 do I = 1,200
5 write(10,*)I
6 end do
7 backspace(10)
8 backspace(10)
9 read(10,*)I
10 if (I.NE.199) call abort
11 end