summaryrefslogtreecommitdiff
path: root/test/OpenMP/predefined_macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/OpenMP/predefined_macro.c')
-rw-r--r--test/OpenMP/predefined_macro.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/OpenMP/predefined_macro.c b/test/OpenMP/predefined_macro.c
index e18c3d26d4c2..b27b32b561fd 100644
--- a/test/OpenMP/predefined_macro.c
+++ b/test/OpenMP/predefined_macro.c
@@ -1,5 +1,8 @@
// RUN: %clang_cc1 -fopenmp -verify -DFOPENMP -o - %s
// RUN: %clang_cc1 -verify -o - %s
+
+// RUN: %clang_cc1 -fopenmp-simd -verify -o - %s
+// RUN: %clang_cc1 -fopenmp-simd -fopenmp-version=45 -verify -o - %s
// expected-no-diagnostics
#ifdef FOPENMP
// -fopenmp option is specified