mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-14 19:00:40 +08:00
* gfortran.dg/slash_1.f90: New test.
From-SVN: r101378
This commit is contained in:
parent
e082bf48ca
commit
0a0a8cf7f5
@ -1,3 +1,8 @@
|
||||
2005-06-28 Francois-Xavier Coudert <coudert@clipper.ens.fr>
|
||||
|
||||
PR libfortran/22170
|
||||
* gfortran.dg/slash_1.f90: New test.
|
||||
|
||||
2005-06-27 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* gcc.dg/vect/vect-reduc-1.c: Adjust test to properly validate MIN.
|
||||
|
13
gcc/testsuite/gfortran.dg/slash_1.f90
Normal file
13
gcc/testsuite/gfortran.dg/slash_1.f90
Normal file
@ -0,0 +1,13 @@
|
||||
! PR libfortran/22170
|
||||
! { dg-do run }
|
||||
integer i
|
||||
open (10,status='scratch')
|
||||
write (10,'(A,2/,A)') '12', '17'
|
||||
rewind (10)
|
||||
read (10,'(I2)') i
|
||||
if (i /= 12) call abort
|
||||
read (10,'(I2)') i
|
||||
if (i /= 0) call abort
|
||||
read (10,'(I2)') i
|
||||
if (i /= 17) call abort
|
||||
end
|
Loading…
Reference in New Issue
Block a user