diff options
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 0164c2b73862..969c5affe0b2 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}; |
