C99 testsuite readiness: Compile more tests with -std=gnu89
[official-gcc.git] / gcc / testsuite / g++.dg / gomp / ordered-1.C
blob24af7976d382410823693f22c8c4d1b927d7968f
1 /* { dg-do compile } */
2 /* { dg-options "-fopenmp -fdump-tree-omplower" } */
4 extern void bar(int);
6 void foo (void)
8   #pragma omp ordered
9     bar(0);
11   #pragma omp ordered
12   {
13     bar(1);
14     bar(2);
15   }
18 /* { dg-final { scan-tree-dump-times "GOMP_ordered_start" 2 "omplower" } } */
19 /* { dg-final { scan-tree-dump-times "GOMP_ordered_end" 2 "omplower" } } */