diff options
Diffstat (limited to 'test/SemaOpenCL')
-rw-r--r-- | test/SemaOpenCL/cond.cl | 1 | ||||
-rw-r--r-- | test/SemaOpenCL/init.cl | 1 | ||||
-rw-r--r-- | test/SemaOpenCL/vec_compare.cl | 1 | ||||
-rw-r--r-- | test/SemaOpenCL/vector_literals_const.cl | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/test/SemaOpenCL/cond.cl b/test/SemaOpenCL/cond.cl index 79dc82d..802ad9b 100644 --- a/test/SemaOpenCL/cond.cl +++ b/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/test/SemaOpenCL/init.cl b/test/SemaOpenCL/init.cl index b3ecfec..a156921 100644 --- a/test/SemaOpenCL/init.cl +++ b/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/test/SemaOpenCL/vec_compare.cl b/test/SemaOpenCL/vec_compare.cl index dd91aa5..567629c 100644 --- a/test/SemaOpenCL/vec_compare.cl +++ b/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/test/SemaOpenCL/vector_literals_const.cl b/test/SemaOpenCL/vector_literals_const.cl index e761816..ee5ae20 100644 --- a/test/SemaOpenCL/vector_literals_const.cl +++ b/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))); |