brintos

brintos / llvm-project-archived public Read only

0
0
Text · 327 B · 85d085e Raw
15 lines · c
1// RUN: %libomp-compile-and-run 2>&1 | FileCheck %s2// RUN: %libomp-cxx-compile-c && %libomp-run 2>&1 | FileCheck %s3#include <stdio.h>4#include <omp.h>5int main()6{7  omp_display_env(0);8  printf("passed\n");9  return 0;10}11 12// CHECK: OPENMP DISPLAY ENVIRONMENT BEGIN13// CHECK: _OPENMP14// CHECK: OPENMP DISPLAY ENVIRONMENT END15