1 // RUN: %libomp-compile && env KMP_AFFINITY=compact %libomp-run
6 #include "omp_testsuite.h"
8 int test_nested_affinity_bug() {
11 #pragma omp parallel num_threads(2) shared(a)
13 #pragma omp parallel num_threads(2) shared(a) proc_bind(close)
26 for (i
= 0; i
< REPETITIONS
; i
++) {
27 if (!test_nested_affinity_bug()) {