summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/pr58809.c
blob: 5dc02f65aa8707ca525fb2e36e17d06fbb38930f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR middle-end/58809 */
/* { dg-do compile } */
/* { dg-options "-fopenmp -O" } */

int i;
#pragma omp threadprivate (i)

void foo()
{
  _Complex int j;
#pragma omp parallel copyin (i) reduction (&&:j)
  ;
}