1 // RUN: %libomp-compile-and-run
7 int main(int argc
, char** argv
)
11 omp_set_num_teams(iset
);
12 iget
= omp_get_max_teams();
14 fprintf(stderr
, "error: nteams-var set to %d, getter returned %d\n", iset
, iget
);
18 omp_set_teams_thread_limit(iset
);
19 iget
= omp_get_teams_thread_limit();
21 fprintf(stderr
, "error: teams-thread-limit-var set to %d, getter returned %d\n", iset
, iget
);