1 // RUN: %libomp-compile-and-run
3 #include "omp_testsuite.h"
5 int test_omp_parallel_sections_private()
15 #pragma omp parallel sections private(sum0, i)
49 known_sum
=(999*1000)/2+7;
50 return (known_sum
==sum
);
51 } /* end of check_section_private*/
58 for(i
= 0; i
< REPETITIONS
; i
++) {
59 if(!test_omp_parallel_sections_private()) {