1 2 3 4 5 6 7 8 9 10
! PR 15963 -- checks character comparison in initialization expressions character(8), parameter :: a(5) = (/ "H", "E", "L", "L", "O" /) call x(a) contains subroutine x(a) character(8), intent(in) :: a(:) integer :: b(count(a < 'F')) if (size(b) /= 1) call abort() end subroutine x end