aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/altivec.cpp
diff options
context:
space:
mode:
authorAnton Yartsev <anton.yartsev@gmail.com>2010-11-18 03:19:30 +0000
committerAnton Yartsev <anton.yartsev@gmail.com>2010-11-18 03:19:30 +0000
commitaa4fe05939ffbfd746b8f0065cc0b5e06ea94fe2 (patch)
treeecb65cac67c68a7486229e2de1094fccdf9e64c0 /test/SemaCXX/altivec.cpp
parentcdba6595a61a7bd31f504260abf63c900a759d0f (diff)
comparison of AltiVec vectors now gives bool result (fix for 7533)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/altivec.cpp')
-rw-r--r--test/SemaCXX/altivec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/altivec.cpp b/test/SemaCXX/altivec.cpp
index cdfc00a5d4..bb7473f742 100644
--- a/test/SemaCXX/altivec.cpp
+++ b/test/SemaCXX/altivec.cpp
@@ -13,6 +13,6 @@ void test()
f(vAltiVec);
vGCC = vAltiVec;
- vGCC = vGCC > vAltiVec;
+ bool res = vGCC > vAltiVec;
vAltiVec = 0 ? vGCC : vGCC;
}