Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/gomp/nesting-warn-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
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" } */ } } }