1 // RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm -o %t &&
2 // RUN: grep "{ i8\* null, i32 1024 }" %t &&
3 // RUN: grep "i32 0, i32 22" %t
4 
5 struct foo {
6     void *a;
7     int b;
8 };
9 
10 union { int i; float f; } u = { };
11 
12 int main(int argc, char **argv)
13 {
14   union { int i; float f; } u2 = { };
15     static struct foo foo = {
16         .b = 1024,
17     };
18 }
19 
20 int b[2] = {
21     [1] 22
22 };
23