summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/stdlang.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Frontend/stdlang.c')
-rw-r--r--clang/test/Frontend/stdlang.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Frontend/stdlang.c b/clang/test/Frontend/stdlang.c
index 765d7272294..9c3c3078aaf 100644
--- a/clang/test/Frontend/stdlang.c
+++ b/clang/test/Frontend/stdlang.c
@@ -1,5 +1,9 @@
// RUN: %clang_cc1 -x cuda -std=c++11 -DCUDA %s
// RUN: %clang_cc1 -x cl -DOPENCL %s
+// RUN: %clang_cc1 -x cl -cl-std=cl -DOPENCL %s
+// RUN: %clang_cc1 -x cl -cl-std=cl1.1 -DOPENCL %s
+// RUN: %clang_cc1 -x cl -cl-std=cl1.2 -DOPENCL %s
+// RUN: %clang_cc1 -x cl -cl-std=cl2.0 -DOPENCL %s
// RUN: %clang_cc1 -x cl -cl-std=CL -DOPENCL %s
// RUN: %clang_cc1 -x cl -cl-std=CL1.1 -DOPENCL %s
// RUN: %clang_cc1 -x cl -cl-std=CL1.2 -DOPENCL %s
OpenPOWER on IntegriCloud