[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / openmp / libompd / test / api_tests / test_ompd_get_curr_parallel_handle.c
blobbcc41f3416452c53ce66e791ac71dd4b2c17dac0
1 // RUN: %gdb-compile 2>&1 | tee %t.compile
2 // RUN: %gdb-test -x %s.cmd %t 2>&1 | tee %t.out \
3 // RUN: | FileCheck -check-prefix=CMD %s
4 // RUN: %gdb-test -x %s.cmd2 %t 2>&1 | tee %t.out2 | FileCheck %s
5 #include <omp.h>
6 #include <stdio.h>
8 int main() {
9 omp_set_num_threads(2);
10 #pragma omp parallel
11 { printf("Parallel level 1, thread num = %d.\n", omp_get_thread_num()); }
12 return 0;
14 // CMD: Return code is stale_handle
15 // CHECK-NOT: Failed
16 // CHECK-NOT: Skip