brintos

brintos / llvm-project-archived public Read only

0
0
Text · 335 B · 52663ae Raw
15 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 4#include <omp.h>5#include <stdio.h>6 7int main() {8  omp_set_num_threads(3);9#pragma omp parallel10  { printf("Parallel level 1, thread num = %d.\n", omp_get_thread_num()); }11  return 0;12}13// CHECK-NOT: Failed14// CHECK-NOT: Skip15