]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/c-c++-common/gomp/flush-2.c
7 #pragma omp flush (a, b)
8 #pragma omp flush acquire
9 #pragma omp flush release
10 #pragma omp flush acq_rel
11 #pragma omp flush relaxed /* { dg-error "expected 'acq_rel', 'release' or 'acquire'" } */
12 #pragma omp flush seq_cst /* { dg-error "expected 'acq_rel', 'release' or 'acquire'" } */
13 #pragma omp flush foobar /* { dg-error "expected 'acq_rel', 'release' or 'acquire'" } */
14 #pragma omp flush acquire (a, b) /* { dg-error "'flush' list specified together with memory order clause" } */
15 #pragma omp flush release (a, b) /* { dg-error "'flush' list specified together with memory order clause" } */
16 #pragma omp flush acq_rel (a, b) /* { dg-error "'flush' list specified together with memory order clause" } */