re PR fortran/60810 (list directed io from array results in end of file)
2014-04-28 Jerry DeLisle <jvdelisle@gcc.gnu> PR libfortran/60810 * gfortran.dg/arrayio_13.f90: New test. From-SVN: r209888
This commit is contained in:
parent
90a098a72f
commit
32a360864e
@ -1,3 +1,8 @@
|
||||
2014-04-28 Jerry DeLisle <jvdelisle@gcc.gnu>
|
||||
|
||||
PR libfortran/60810
|
||||
* gfortran.dg/arrayio_13.f90: New test.
|
||||
|
||||
2014-04-28 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
* gcc.dg/tree-ssa/sra-14.c: New test.
|
||||
|
14
gcc/testsuite/gfortran.dg/arrayio_13.f90
Normal file
14
gcc/testsuite/gfortran.dg/arrayio_13.f90
Normal file
@ -0,0 +1,14 @@
|
||||
! { dg-do run }
|
||||
! PR60810 Bogus end-of-file
|
||||
program readstrlist
|
||||
character(len=80), dimension(2) :: ver
|
||||
integer :: a, b, c
|
||||
a = 1
|
||||
b = 2
|
||||
c = 3
|
||||
ver(1) = '285 383'
|
||||
ver(2) = '985'
|
||||
read( ver, *) a, b, c
|
||||
if (a /= 285 .or. b /= 383 .or. c /= 985) call abort
|
||||
!write ( *, *) a, b, c
|
||||
end
|
Loading…
Reference in New Issue
Block a user