1 /* { dg-do compile } */ 2 /* { dg-options "-fopenmp -fdump-tree-ompexp" } */ 3 4 extern void bar(int); 5 foo(void)6void foo (void) 7 { 8 #pragma omp master 9 bar(0); 10 } 11 12 /* { dg-final { scan-tree-dump-times "omp_get_thread_num" 1 "ompexp" } } */ 13 /* { dg-final { cleanup-tree-dump "ompexp" } } */ 14