1 // RUN: %clang_cc1 -fopenmp -verify -DFOPENMP -o - %s
2 // RUN: %clang_cc1 -verify -o - %s
4 // RUN: %clang_cc1 -fopenmp-simd -verify -o - %s
5 // RUN: %clang_cc1 -fopenmp-simd -fopenmp-version=45 -verify -o - %s
6 // expected-no-diagnostics
8 // -fopenmp option is specified
10 #error "No _OPENMP macro is defined with -fopenmp option"
11 #elif _OPENMP != 202011
12 #error "_OPENMP has incorrect value"
15 // No -fopenmp option is specified
17 #error "_OPENMP macro is defined without -fopenmp option"