[RTL ifcvt] PR 67786, 67787: Check that intermediate instructions in the basic block...
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / pr48716.c
blob3496e2f0227ce103f2e06b180df52677876f4696
1 /* PR c/48716 */
2 /* { dg-do compile } */
3 /* { dg-options "-fopenmp" } */
5 int
6 main (void)
8 #pragma omp parallel default(none)
10 static int s;
11 int t = 0;
12 #pragma omp atomic
13 s++;
14 t++;
16 #pragma omp task default(none)
18 static int s;
19 int t = 0;
20 #pragma omp atomic
21 s++;
22 t++;