[analyzer] Use the new registration mechanism on the non-path-sensitive-checkers:
[clang.git] / test / CodeGen / compound-literal.c
blob4b995dbfef2e0de99c177044ca7357cb05fc05bf
1 // RUN: %clang_cc1 < %s -emit-llvm
3 int* a = &(int){1};
4 struct 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};
8 int xxx() {
9 int* a = &(int){1};
10 struct s {int a, b, c;} * b = &(struct s) {1, 2, 3};
11 _Complex double * x = &(_Complex double){1.0f};