OSDN Git Service

6726e6a03d45b37e35a17518ebf0dbae131c5d09
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / gomp / critical-3.c
1 // { dg-do compile }
2 // { dg-options "-fopenmp -fdump-tree-ompexp" }
3
4 void bar(void);
5 void foo(void)
6 {
7   #pragma omp critical (xyzzy)
8     bar();
9 }
10
11 // { dg-final { scan-tree-dump-times "\\&\\.gomp_critical_user_xyzzy" 2 "ompexp" } }