2 ! { dg-options "-fbounds-check" }
5 ! This used to ICE because the charlength of the trim-expression was
8 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
11 character(len
=2) :: c(3)
14 c
= (/ (/ trim(c(1)), 'a' /)//'c', 'cd' /)
18 if (c(1) /= 'ac' .or
. c(2) /= 'ac' .or
. c(3) /= 'cd') then