summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaOpenCL
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaOpenCL')
-rw-r--r--clang/test/SemaOpenCL/cond.cl1
-rw-r--r--clang/test/SemaOpenCL/init.cl1
-rw-r--r--clang/test/SemaOpenCL/vec_compare.cl1
-rw-r--r--clang/test/SemaOpenCL/vector_literals_const.cl1
4 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/SemaOpenCL/cond.cl b/clang/test/SemaOpenCL/cond.cl
index 79dc82db190..802ad9b785a 100644
--- a/clang/test/SemaOpenCL/cond.cl
+++ b/clang/test/SemaOpenCL/cond.cl
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
typedef __attribute__((ext_vector_type(4))) float float4;
diff --git a/clang/test/SemaOpenCL/init.cl b/clang/test/SemaOpenCL/init.cl
index b3ecfecb5db..a156921254b 100644
--- a/clang/test/SemaOpenCL/init.cl
+++ b/clang/test/SemaOpenCL/init.cl
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
typedef float float8 __attribute((ext_vector_type(8)));
diff --git a/clang/test/SemaOpenCL/vec_compare.cl b/clang/test/SemaOpenCL/vec_compare.cl
index dd91aa592ab..567629c10d5 100644
--- a/clang/test/SemaOpenCL/vec_compare.cl
+++ b/clang/test/SemaOpenCL/vec_compare.cl
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
typedef __attribute__((ext_vector_type(2))) unsigned int uint2;
typedef __attribute__((ext_vector_type(2))) int int2;
diff --git a/clang/test/SemaOpenCL/vector_literals_const.cl b/clang/test/SemaOpenCL/vector_literals_const.cl
index e761816db4b..ee5ae2002a3 100644
--- a/clang/test/SemaOpenCL/vector_literals_const.cl
+++ b/clang/test/SemaOpenCL/vector_literals_const.cl
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
typedef int int2 __attribute((ext_vector_type(2)));
typedef int int3 __attribute((ext_vector_type(3)));
OpenPOWER on IntegriCloud