1 // RUN: %libomp-compile
2 // RUN: env KMP_DISP_NUM_BUFFERS=0 %libomp-run 2>&1 | FileCheck --check-prefix=SMALL %s
3 // RUN: env KMP_DISP_NUM_BUFFERS=4097 %libomp-run 2>&1 | FileCheck --check-prefix=LARGE %s
5 // SMALL-SAME: KMP_DISP_NUM_BUFFERS
6 // SMALL-SAME: too small
8 // LARGE-SAME: KMP_DISP_NUM_BUFFERS
9 // LARGE-SAME: too large
15 #pragma omp parallel for
16 for (i
= 0; i
< 1000; i
++) {}