From a815d7b121d79cfd618653050b7a2be8e0847040 Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Sun, 14 Oct 2007 12:07:07 +0200 Subject: [PATCH] bounds_check_10.f90: Fix testcase. 2007-10-14 Tobias Burnus * gfortran.dg/bounds_check_10.f90: Fix testcase. From-SVN: r129293 --- gcc/testsuite/ChangeLog | 6 +++++- gcc/testsuite/gfortran.dg/bounds_check_10.f90 | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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