1 /* { dg-do compile } */
2 /* { dg-options "-fopenmp -fdump-tree-omplower" } */
11 /* Note that "name" is in its own namespace, thus this foo is not
12 the same as the function. */
13 #pragma omp critical(foo)
20 #pragma omp critical(foo)
24 /* { dg-final { scan-tree-dump-times "GOMP_critical_start" 2 "omplower" } } */
25 /* { dg-final { scan-tree-dump-times "GOMP_critical_end" 2 "omplower" } } */
26 /* { dg-final { scan-tree-dump-times "GOMP_critical_name_start" 2 "omplower" } } */
27 /* { dg-final { scan-tree-dump-times "GOMP_critical_name_end" 2 "omplower" } } */
28 /* { dg-final { cleanup-tree-dump "omplower" } } */