2011-02-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / inquire_14.f90
blobedc9bf388a409002d5c814b983bb9a00adcd2c24
1 ! { dg-do compile }
2 ! PR47583 Inquire affected by previous read.
3 subroutine input(indat)
4 real indat(:)
5 read(*,*) indat
6 end subroutine input
8 subroutine abc(sizedat)
9 real, intent(in) :: sizedat(:)
10 integer :: rl
11 inquire(iolength=rl) sizedat
12 write(*,*) rl
13 end subroutine abc