blob: 652238f06d56a6bdf499c74bdef2f9449aa254b5 [file] [log] [blame]
// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o %t
// RUN: grep "{ i8\* null, i32 1024 }" %t
// RUN: grep "i32 0, i32 22" %t
struct foo {
void *a;
int b;
};
union { int i; float f; } u = { };
int main(int argc, char **argv)
{
union { int i; float f; } u2 = { };
static struct foo foo = {
.b = 1024,
};
}
int b[2] = {
[1] 22
};