2 ! Tests the fix for PR25416, which ICED in gfc_conv_function_call, when
3 ! treating SPREAD in the statement below.
5 ! Contributed by Ulrich Weigand <uweigand@gcc.gnu.org>
6 function bug(self
,strvec
) result(res
)
8 character(*), dimension(:), intent(in
) :: strvec
9 logical(kind
=kind(.true
.)) :: res
11 res
= any(index(strvec
,spread(self
,1,size(strvec
))) /= 0)