Debian Codegraph @

gcc/testsuite/c-c++-common/gomp/atomic-3.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fopenmp -fdump-tree-ompexp" } */
3 /* { dg-require-effective-target cas_int } */
4
5 int *xyzzy;
6
7 void f1(void)
8 {
9 #pragma omp atomic
10 xyzzy++;
11 }
12
13 /* { dg-final { scan-tree-dump-times "xyzzy, 4" 1 "ompexp" } } */