9 void __attribute__((noinline
))
10 baz (int i
, int *p
, int j
, int *q
)
12 if (p
[0] != 1 || p
[i
] != 3 || q
[0] != 2 || q
[j
] != 4)
17 void __attribute__((noinline
))
22 memset (p
, 0, sizeof (p
));
23 memset (q
, 0, sizeof (q
));
28 #pragma omp task firstprivate (p, q)
35 #pragma omp parallel num_threads (4)
36 foo (5 + omp_get_thread_num (), 7 + omp_get_thread_num ());