]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/c-c++-common/gomp/single1.c
Merge branch 'master' into devel/modula-2.
[gcc.git] / gcc / testsuite / c-c++-common / gomp / single1.c
CommitLineData
acf0174b
JJ
1/* { dg-do compile } */
2/* { dg-options "-fopenmp" } */
3
4void
5foo (int i)
6{
7 #pragma omp single copyprivate (i)
8 ;
9 #pragma omp single nowait
10 ;
11 #pragma omp single copyprivate (i) nowait /* { dg-error "clause must not be used together with" } */
12 ;
13 #pragma omp single nowait copyprivate (i) /* { dg-error "clause must not be used together with" } */
14 ;
15}
This page took 5.798946 seconds and 5 git commands to generate.