aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/gomp/pr92084.C
blob: da3079b372103d1a3272899bf9ab2f8a63436343 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/92084

void bar (int *, int);
int baz (int);

void
foo (int *x, int y)
{
#pragma omp taskgroup task_reduction (*: x[baz (y)])
  bar (x, baz (y));
}