1 // PR c++/92084 2 3 void bar (int *, int); 4 int baz (int); 5 6 void foo(int * x,int y)7 foo (int *x, int y) 8 { 9 #pragma omp taskgroup task_reduction (*: x[baz (y)]) 10 bar (x, baz (y)); 11 } 12