diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-03-17 04:16:45 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-03-17 04:16:45 +0000 |
commit | c9dcb45795d9be5c33d4cc03ebfab5ee2f173a7c (patch) | |
tree | 903a5bfecdd8af565e23a63774086809e5dacc3e | |
parent | f3f929386254a53c398fa884848738113a73ca23 (diff) |
Make test more portable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127799 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Sema/uninit-variables-vectors.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/Sema/uninit-variables-vectors.c b/test/Sema/uninit-variables-vectors.c index 7197fb6327..d59d6fef00 100644 --- a/test/Sema/uninit-variables-vectors.c +++ b/test/Sema/uninit-variables-vectors.c @@ -1,6 +1,9 @@ -// RUN: %clang_cc1 -fsyntax-only -Wuninitialized -fsyntax-only %s -verify +// RUN: %clang_cc1 -triple x86_64-apple-darwin10.0.0 -fsyntax-only -Wuninitialized -fsyntax-only %s -verify -#include <xmmintrin.h> +typedef int __v4si __attribute__((__vector_size__(16))); +typedef float __m128 __attribute__((__vector_size__(16))); +__m128 _mm_xor_ps(__m128 a, __m128 b); +__m128 _mm_loadu_ps(const float *p); void test1(float *input) { __m128 x, y, z, w, X; // expected-note {{variable 'x' is declared here}} expected-note {{variable 'y' is declared here}} expected-note {{variable 'w' is declared here}} expected-note {{variable 'z' is declared here}} |