Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
atomic-3.c
blob: 37fff732eafd117e1a10b2525cee915b49139ccf [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-fopenmp -fdump-tree-ompexp" } */
/* { dg-require-effective-target cas_int } */
int
*
xyzzy
;
void
f1
(
void
)
{
#pragma
omp atomic
xyzzy
++;
}
/* { dg-final { scan-tree-dump-times "xyzzy, 4" 1 "ompexp" } } */