compound-literal.c revision a5728872c7702ddd09537c95bc3cbd20e1f2fb09
1// RUN: %clang_cc1 < %s -emit-llvm 2 3int* a = &(int){1}; 4struct s {int a, b, c;} * b = &(struct s) {1, 2, 3}; 5// Not working; complex constants are broken 6// _Complex double * x = &(_Complex double){1.0f}; 7 8int xxx() { 9int* a = &(int){1}; 10struct s {int a, b, c;} * b = &(struct s) {1, 2, 3}; 11_Complex double * x = &(_Complex double){1.0f}; 12} 13