xref: /llvm-project/openmp/libompd/test/api_tests/test_ompd_device_initialize.c (revision 1099498e3f35b2ad4b021ba3888b590259124e74)
1 // RUN: %gdb-compile 2>&1 | tee %t.compile
2 // RUN: %gdb-test -x %s.cmd %t 2>&1 | tee %t.out | FileCheck %s
3 #include <omp.h>
4 #include <stdio.h>
5 
main()6 int main() {
7   omp_set_num_threads(4);
8 #pragma omp parallel
9   { printf("Parallel level 1, thread num = %d.\n", omp_get_thread_num()); }
10   return 0;
11 }
12 // CHECK-NOT: Failed
13 // CHECK-NOT: Skip
14