blob: 800ad5321087986e70beb7c5437098de069a4015 [file] [log] [blame]
extern int i;
void
f_omp_target (void)
{
#pragma omp target
{
#pragma omp target /* { dg-warning ".target. construct inside of .target. region" } */
;
#pragma omp target data map(i) /* { dg-warning ".target data. construct inside of .target. region" } */
;
#pragma omp target update to(i) /* { dg-warning ".target update. construct inside of .target. region" } */
#pragma omp parallel
{
#pragma omp target /* { dg-warning ".target. construct inside of .target. region" } */
;
#pragma omp target data map(i) /* { dg-warning ".target data. construct inside of .target. region" } */
;
#pragma omp target update to(i) /* { dg-warning ".target update. construct inside of .target. region" } */
}
}
}