diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-05-30 12:02:14 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-05-30 12:02:14 +0000 |
commit | cfb313bd56fb935c54544489d71d77364fd312db (patch) | |
tree | 3268d0aed95ad6214c6a93c843b08eb8e7e6604d /test/CodeGen/vector.c | |
parent | 9b5239339d3b42c20a2cbb0843445ed98e1fea2b (diff) |
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
Diffstat (limited to 'test/CodeGen/vector.c')
-rw-r--r-- | test/CodeGen/vector.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/vector.c b/test/CodeGen/vector.c index 52ad19fc15..ac9922524e 100644 --- a/test/CodeGen/vector.c +++ b/test/CodeGen/vector.c @@ -5,3 +5,7 @@ void f() { __v4hi A = (__v4hi)0LL; } + +__v4hi x = {1,2,3}; +__v4hi y = {1,2,3,4}; +__v4hi z = {1,2,3,4,5}; |