1 // RUN: %libomp-compile && env OMP_NUM_TEAMS=5 OMP_TEAMS_THREAD_LIMIT=7 %libomp-run
7 int main(int argc
, char** argv
)
11 iget
= omp_get_max_teams();
13 fprintf(stderr
, "error: nteams-var set to %d, getter returned %d\n", iset
, iget
);
17 iget
= omp_get_teams_thread_limit();
19 fprintf(stderr
, "error: teams-thread-limit-var set to %d, getter returned %d\n", iset
, iget
);