diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 83f025c9a80..157d2278a30 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,9 +1,13 @@ +2007-10-14 Tobias Burnus + + * gfortran.dg/bounds_check_10.f90: Fix testcase. + 2007-10-13 Tobias Schlüter Paul Thomas PR fortran/33254 PR fortran/33727 - * bounds_check_10.f90: New. + * gfortran.dg/bounds_check_10.f90: New. 2007-10-13 David Edelsohn diff --git a/gcc/testsuite/gfortran.dg/bounds_check_10.f90 b/gcc/testsuite/gfortran.dg/bounds_check_10.f90 index 02101afeacb..3aba1cb6ab6 100644 --- a/gcc/testsuite/gfortran.dg/bounds_check_10.f90 +++ b/gcc/testsuite/gfortran.dg/bounds_check_10.f90 @@ -8,7 +8,7 @@ character (len=2) :: x, y character (len=2) :: z(3) x = "a " y = "cd" -z = [y(1:1), x(1:len(trim(x)))] ! should work +z = [y(1:1), y(1:1), x(1:len(trim(x)))] ! should work z = [trim(x), trim(y), "aaaa"] ! [ "a", "cd", "aaaa" ] should catch first error end program array_char