re PR fortran/47583 (Inquire affected by previous read)
2011-02-08 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/47583 * gfortran.dg/inquire_14.f90: New test. From-SVN: r169962
This commit is contained in:
parent
70b9ed884a
commit
88c98057c8
@ -1,3 +1,8 @@
|
||||
2011-02-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR fortran/47583
|
||||
* gfortran.dg/inquire_14.f90: New test.
|
||||
|
||||
2011-02-08 Janus Weil <janus@gcc.gnu.org>
|
||||
|
||||
PR fortran/45290
|
||||
|
13
gcc/testsuite/gfortran.dg/inquire_14.f90
Normal file
13
gcc/testsuite/gfortran.dg/inquire_14.f90
Normal file
@ -0,0 +1,13 @@
|
||||
! { dg-do compile }
|
||||
! PR47583 Inquire affected by previous read.
|
||||
subroutine input(indat)
|
||||
real indat(:)
|
||||
read(*,*) indat
|
||||
end subroutine input
|
||||
|
||||
subroutine abc(sizedat)
|
||||
real, intent(in) :: sizedat(:)
|
||||
integer :: rl
|
||||
inquire(iolength=rl) sizedat
|
||||
write(*,*) rl
|
||||
end subroutine abc
|
Loading…
Reference in New Issue
Block a user