c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / c-c++-common / gomp / pr67517.c
blob3055ffb34eb2d708c5cdbcc10def0cdb076b6266
1 /* PR middle-end/67517 */
2 /* { dg-do compile } */
3 /* { dg-options "-fopenmp" } */
5 int
6 foo (int x, int y, int z)
8 int i;
9 #pragma omp parallel for simd linear (y : x & 15) linear (x : 16) linear (z : x & 15)
10 for (i = 0; i < 256; ++i)
11 x += 16, y += x & 15, z += x & 15;
12 return x + y + z;