repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[SimplifyCFG] Replace unreachable switch lookup table holes with poison (#94990)
[llvm-project.git]
/
openmp
/
libompd
/
test
/
api_tests
/
test_ompd_device_initialize.c
blob
442199b6f4a6e8b079d19ad73e15626d7c6eac54
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
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