c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / slash_1.f90
blob854d5d578f6834aaefd17ee640e122920f8c90b2
1 ! PR libfortran/22170
2 ! { dg-do run }
3 integer i
4 open (10,status='scratch')
5 write (10,'(A,2/,A)') '12', '17'
6 rewind (10)
7 read (10,'(I2)') i
8 if (i /= 12) STOP 1
9 read (10,'(I2)') i
10 if (i /= 0) STOP 2
11 read (10,'(I2)') i
12 if (i /= 17) STOP 3
13 end