brintos

brintos / llvm-project-archived public Read only

0
0
Text · 558 B · b7ff98d Raw
19 lines · c
1// RUN: %gdb-compile 2>&1 | tee %t.compile2// RUN: %gdb-test -x %s.cmd %t 2>&1 | tee %t.out | FileCheck %s3// RUN: %gdb-test -x %s.cmd2 %t 2>&1 | tee %t.out2 \4// RUN:                              | FileCheck --check-prefix CMD2 %s5#include <omp.h>6#include <stdio.h>7 8int main() {9  omp_set_num_threads(4);10#pragma omp parallel11  { printf("Parallel level 1, thread num = %d.\n", omp_get_thread_num()); }12  return 0;13}14// CHECK-NOT: Failed15// CHECK-NOT: Skip16 17// CMD2: Run 'ompd init' before running any of the ompd commands18// CMD2: Error in Initialization19