diff options
author | dim <dim@FreeBSD.org> | 2012-04-14 14:01:31 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-04-14 14:01:31 +0000 |
commit | 50b73317314e889cf39c7b1d6cbf419fa7502f22 (patch) | |
tree | be1815eb79b42ff482a8562b13c2dcbf0c5dcbee /test/CodeGen/compound-literal.c | |
parent | dc04cb328508e61aad809d9b53b12f9799a00e7d (diff) | |
download | FreeBSD-src-50b73317314e889cf39c7b1d6cbf419fa7502f22.zip FreeBSD-src-50b73317314e889cf39c7b1d6cbf419fa7502f22.tar.gz |
Vendor import of clang trunk r154661:
http://llvm.org/svn/llvm-project/cfe/trunk@r154661
Diffstat (limited to 'test/CodeGen/compound-literal.c')
-rw-r--r-- | test/CodeGen/compound-literal.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/compound-literal.c b/test/CodeGen/compound-literal.c index 0164c2b..969c5af 100644 --- a/test/CodeGen/compound-literal.c +++ b/test/CodeGen/compound-literal.c @@ -2,8 +2,9 @@ int* a = &(int){1}; struct s {int a, b, c;} * b = &(struct s) {1, 2, 3}; -// Not working; complex constants are broken -// _Complex double * x = &(_Complex double){1.0f}; +_Complex double * x = &(_Complex double){1.0f}; +typedef int v4i32 __attribute((vector_size(16))); +v4i32 *y = &(v4i32){1,2,3,4}; void xxx() { int* a = &(int){1}; |