brintos

brintos / llvm-project-archived public Read only

0
0
Text · 334 B · 442199b Raw
14 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#include <omp.h>4#include <stdio.h>5 6int main() {7  omp_set_num_threads(4);8#pragma omp parallel9  { printf("Parallel level 1, thread num = %d.\n", omp_get_thread_num()); }10  return 0;11}12// CHECK-NOT: Failed13// CHECK-NOT: Skip14