1  /* { dg-do compile } */
       2  
       3  int thr;
       4  #pragma omp threadprivate (thr)
       5  int foo ()
       6  {
       7    int l;
       8  #pragma omp parallel copyin (thr) reduction (||:l)
       9    ;
      10  }
       1  /* { dg-do compile } */
       2  
       3  int thr;
       4  #pragma omp threadprivate (thr)
       5  int foo ()
       6  {
       7    int l;
       8  #pragma omp parallel copyin (thr) reduction (||:l)
       9    ;
      10  }