blob: dbd621f0dba777f8233b40bea93a2813aa737015 [file] [log] [blame]
/* PR middle-end/61486 */
/* { dg-do compile } */
/* { dg-options "-fopenmp" } */
int
foo (int *a)
{
int i, j = 0;
#pragma omp target teams distribute simd linear(i) map(a[:10])
for (i = 0; i < 10; i++)
a[i] = j;
return i;
}