1 /* PR middle-end/101167 */
9 struct S
{ int a
, b
, c
[2]; };
21 merge (struct S
*x
, struct S
*y
)
27 #pragma omp declare reduction (+: struct S : merge (&omp_out, &omp_in)) initializer (init (&omp_priv))
32 #pragma omp taskgroup task_reduction (+: x)
34 #pragma omp task in_reduction (+: x)
39 #pragma omp task in_reduction (+: x)
44 #pragma omp task in_reduction (+: x)
50 if (x
.a
!= 56 || x
.b
!= 86)
57 struct S x
= { 42, 52 };
58 #pragma omp parallel master num_threads(3)