5 __attribute__((noinline, noclone)) void
6 foo (int &a, short &d, char &g)
14 #pragma omp parallel default(none) private(a, c) firstprivate(d, f) shared(g, k)
16 int i = omp_get_thread_num ();
19 if (d != 27 || f != 21)
24 if (a != i || c != 2 * i || d != 3 * (i & 0xfff) || f != 4 * i)
26 #pragma omp for lastprivate(g, k)
27 for (int j = 0; j < 32; j++)
33 if (g != 31 || k != 31 * 3)
35 #pragma omp parallel for firstprivate (g, k) lastprivate (g, k)
36 for (int j = 0; j < 32; j++)
38 if (g != 31 || k != 31 * 3)
46 if (g != 29 || k != 138)