PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / c-c++-common / gomp / nesting-warn-1.c
blob800ad5321087986e70beb7c5437098de069a4015
1 extern int i;
3 void
4 f_omp_target (void)
6 #pragma omp target
8 #pragma omp target /* { dg-warning ".target. construct inside of .target. region" } */
10 #pragma omp target data map(i) /* { dg-warning ".target data. construct inside of .target. region" } */
12 #pragma omp target update to(i) /* { dg-warning ".target update. construct inside of .target. region" } */
14 #pragma omp parallel
16 #pragma omp target /* { dg-warning ".target. construct inside of .target. region" } */
18 #pragma omp target data map(i) /* { dg-warning ".target data. construct inside of .target. region" } */
20 #pragma omp target update to(i) /* { dg-warning ".target update. construct inside of .target. region" } */