1 extern void abort (void);
6 f1 (int i
, int j
, int k
)
8 int l
= 6, m
= 7, n
= 8;
9 #pragma omp parallel private(j, m) shared(k, n) firstprivate(i, l) \
14 if (++a
!= 19 || ++i
!= 9 || j
!= 6 || ++l
!= 7 || m
!= 5 || ++n
!= 9)
18 if (a
!= 19 || i
!= 8 || j
!= 26 || k
!= 0 || l
!= 6 || m
!= 7 || n
!= 9)
22 int v1
= 1, v2
= 2, v5
= 5;
29 #pragma omp sections private (v1) firstprivate (v2)
35 #pragma omp parallel num_threads(1) firstprivate(v1, v2, v3, v4)
37 if (++v1
!= 8 || ++v2
!= 3 || ++v3
!= 4 || ++v4
!= 5 || ++v5
!= 6)
40 if (v1
!= 7 || v2
!= 2 || v3
!= 3 || v4
!= 4 || v5
!= 6)