[llvm] Stop including unordered_map (NFC)
[llvm-project.git] / openmp / runtime / test / tasking / omp_task_priority.c
blob7b62360173341c69af644ebb2bede54bb9dc0387
1 // RUN: %libomp-compile && env OMP_MAX_TASK_PRIORITY=42 %libomp-run
2 // Test OMP 4.5 task priorities
3 // Currently only API function and envirable parsing implemented.
4 // Test environment sets envirable: OMP_MAX_TASK_PRIORITY=42 as tested below.
5 #include <stdio.h>
6 #include <omp.h>
8 int main (void) {
9 int passed;
11 passed = (omp_get_max_task_priority() == 42);
12 printf("Got %d\n", omp_get_max_task_priority());
14 if (passed) {
15 printf("passed\n");
16 return 0;
19 printf("failed\n");
20 return 1;