1 // RUN: %libomp-compile-and-run
3 #include "omp_testsuite.h"
5 int test_omp_section_firstprivate()
15 #pragma omp sections firstprivate(sum0)
40 known_sum
= 11 * 3 + 7;
41 return (known_sum
== sum
);
42 } /* end of check_section_firstprivate*/
49 for(i
= 0; i
< REPETITIONS
; i
++) {
50 if(!test_omp_section_firstprivate()) {