aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx-altivec.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-20 05:19:10 +0000
committerChris Lattner <sabre@nondot.org>2010-04-20 05:19:10 +0000
commite12a779bbecb46b7287a87e0ff441e32147d10bb (patch)
treed5fe4e9cde8b8f37bdb7c299a51d312b1cde1f47 /test/Parser/cxx-altivec.cpp
parent2692d8284c77eee8ef3a93bf114cfec997a191a1 (diff)
reapply john's patch, he broke mainline again by changing the test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101871 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx-altivec.cpp')
-rw-r--r--test/Parser/cxx-altivec.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Parser/cxx-altivec.cpp b/test/Parser/cxx-altivec.cpp
index 7f7a9d2df6..66d4f3263b 100644
--- a/test/Parser/cxx-altivec.cpp
+++ b/test/Parser/cxx-altivec.cpp
@@ -41,6 +41,8 @@ vector int f__r();
void f_a(vector int a);
void f_a2(int b, vector int a);
+vector int v = (vector int)(-1);
+
// These should have warnings.
__vector long vv_l; // expected-warning {{Use of 'long' with '__vector' is deprecated}}
__vector signed long vv_sl; // expected-warning {{Use of 'long' with '__vector' is deprecated}}