[to-be-committed] [RISC-V] Use Zbkb for general 64 bit constants when profitable
[official-gcc.git] / gcc / testsuite / gfortran.dg / eor_handling_3.f90
blobf17cb0fe8ff613687806474fcf1febcfbc98e2ce
1 ! { dg-do run }
2 ! PR 19595: Handle end-of-record condition with pad=yes (default)
3 program main
4 integer i1, i2
5 open(77,status='scratch')
6 write (77,'(A)') '123','456'
7 rewind(77)
8 read(77,'(2I2)',advance='no',eor=100) i1,i2
9 STOP 1
10 100 continue
11 if (i1 /= 12 .or. i2 /= 3) STOP 2
12 close(77)
13 end program main