summaryrefslogtreecommitdiff
path: root/test/OpenMP/for_ordered_clause.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/OpenMP/for_ordered_clause.cpp')
-rw-r--r--test/OpenMP/for_ordered_clause.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/OpenMP/for_ordered_clause.cpp b/test/OpenMP/for_ordered_clause.cpp
index 3335f4046f571..ec29a989d0b08 100644
--- a/test/OpenMP/for_ordered_clause.cpp
+++ b/test/OpenMP/for_ordered_clause.cpp
@@ -2,6 +2,11 @@
// RUN: %clang_cc1 -verify -fopenmp -std=c++98 %s
// RUN: %clang_cc1 -verify -fopenmp -std=c++11 %s
+// RUN: %clang_cc1 -verify -fopenmp-simd %s
+// RUN: %clang_cc1 -verify -fopenmp-simd -std=c++98 %s
+// RUN: %clang_cc1 -verify -fopenmp-simd -std=c++11 %s
+// SIMD-ONLY0-NOT: {{__kmpc|__tgt}}
+
void foo() {
}