2 /* { dg-do compile } */
3 /* { dg-options "-Wall -W -fopenmp" } */
6 foo (int *v
, int A
, int B
) /* { dg-bogus "set but not used" } */
9 int a
= 2; /* { dg-bogus "set but not used" } */
10 int b
= 4; /* { dg-bogus "set but not used" } */
11 #pragma omp target map(to: v[a:b])
13 #pragma omp target map(to: v[A:B])