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