1 // RUN: %libomp-compile-and-run 2>&1 | FileCheck %s 2 // RUN: %libomp-cxx-compile-c && %libomp-run 2>&1 | FileCheck %s 3 #include <stdio.h> 4 #include <omp.h> main()5int main() 6 { 7 omp_display_env(0); 8 printf("passed\n"); 9 return 0; 10 } 11 12 // CHECK: OPENMP DISPLAY ENVIRONMENT BEGIN 13 // CHECK: _OPENMP 14 // CHECK: OPENMP DISPLAY ENVIRONMENT END 15