diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:20:44 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:20:44 +0000 |
| commit | 13cc256e404620c1de0cbcc4e43ce1e2dbbc4898 (patch) | |
| tree | 2732d02d7d51218d6eed98ac7fcfc5b8794896b5 /test/SemaOpenCL | |
| parent | 657bc3d9848e3be92029b2416031340988cd0111 (diff) | |
Notes
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 79dc82db190d..802ad9b785a8 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 b3ecfecb5db6..a156921254b6 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 dd91aa592ab2..567629c10d56 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 e761816db4b7..ee5ae2002a3c 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))); |
