[RISCV] Change func to funct in RISCVInstrInfoXqci.td. NFC (#119669)
[llvm-project.git] / openmp / runtime / test / parallel / bug63197.c
blobc60f400b19a8f18608aed05e984e92cdbc24c35d
1 // RUN: %libomp-compile-and-run | FileCheck %s
3 #include <omp.h>
4 #include <stdio.h>
6 int main(int argc, char *argv[]) {
7 #pragma omp parallel num_threads(3) if (0)
8 #pragma omp single
9 { printf("BBB %2d\n", omp_get_num_threads()); }
11 #pragma omp parallel
12 #pragma omp single
14 if (omp_get_num_threads() != 3)
15 printf("PASS\n");
17 return 0;
20 // CHECK: PASS