! { dg-do run }real, dimension (5) :: bb = 5call foo (b)containssubroutine foo (a)real, dimension (5) :: alogical :: ll = .false.!$omp parallel private (a) reduction (.or.:l)a = 15l = bar (a)!$omp end parallelif (l) call abortend subroutinefunction bar (a)real, dimension (5) :: alogical :: barbar = any (a .ne. 15)end functionend