mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-15 10:26:23 +00:00

This is part of the OMPD Path set started from review. https://reviews.llvm.org/D100181 Reviewed By: @jdoerfert, @dreachem
14 lines
334 B
C
14 lines
334 B
C
// RUN: %gdb-compile 2>&1 | tee %t.compile
|
|
// RUN: %gdb-test -x %s.cmd %t 2>&1 | tee %t.out | FileCheck %s
|
|
#include <omp.h>
|
|
#include <stdio.h>
|
|
|
|
int main() {
|
|
omp_set_num_threads(4);
|
|
#pragma omp parallel
|
|
{ printf("Parallel level 1, thread num = %d.\n", omp_get_thread_num()); }
|
|
return 0;
|
|
}
|
|
// CHECK-NOT: Failed
|
|
// CHECK-NOT: Skip
|