[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / c-c++-common / taskloop-1.c
blobf5c3a5d153f2820bb8846d392c7de7b2155e0186
1 /* { dg-do compile } */
3 int e;
4 int bar (int, int);
5 void baz (int, int, int, int *, int *, int *);
7 void
8 foo (int a, int b, int c, int d, int f, int g, int h, int j, int k, int l)
10 int i;
11 #pragma omp taskloop if (a) final (b) untied default(none) mergeable \
12 private(c) firstprivate (e) shared (d) num_tasks(f) collapse(1)
13 for (i = bar (g, h) + j; i < k; i += l)
14 baz (i, d, e++, &c, &d, &e);