Debian Codegraph @

gcc/testsuite/g++.dg/gomp/attrs-16.C

raw
1 // { dg-do compile { target c++11 } }
2
3 int i;
4
5 [[omp::directive (assumes no_openmp, absent (target, teams) holds (i < 32U) holds (i < 32U))]];
6 void
7 bar (void)
8 {
9 }
10
11 [[omp::directive (assumes no_openmp_routines)]];
12 [[omp::directive (assumes no_parallelism)]];
13 [[omp::directive (assumes absent (for))]];
14 void
15 fred (void)
16 {
17 }
18
19 [[omp::directive (assumes absent (atomic, barrier, cancel, cancellation point) absent (critical, depobj)
20 absent (distribute, flush, loop, masked, master, nothing, ordered)
21 absent (parallel, scan, scope, section, sections, simd, single, task)
22 absent (taskgroup, taskloop, taskwait, taskyield))]];
23 void
24 foo (void)
25 {
26 }