commit | 6c221719d59d56883451cb0d9b202f36ab900b6c | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Fri May 30 12:02:14 2008 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Fri May 30 12:02:14 2008 +0000 |
tree | 3268d0aed95ad6214c6a93c843b08eb8e7e6604d | |
parent | 879aa1ff5e64188b65e421110af7e71df26bf2e8 [diff] [blame] |
Fix constant vector init for initializer lists with an incomplete list of elements. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51769 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/vector.c b/test/CodeGen/vector.c index 52ad19f..ac99225 100644 --- a/test/CodeGen/vector.c +++ b/test/CodeGen/vector.c
@@ -5,3 +5,7 @@ { __v4hi A = (__v4hi)0LL; } + +__v4hi x = {1,2,3}; +__v4hi y = {1,2,3,4}; +__v4hi z = {1,2,3,4,5};