blob: 617c4287d5603d3ee4734d0ddda0ca391be0f7da [file] [log] [blame]
Daniel Dunbar9ca56702009-02-03 21:54:49 +00001// RUN: clang -triple i386-unknown-unknown %s -emit-llvm -o - | grep "<{ i8\* null, i32 1024 }>"
Nuno Lopes2bc0f792009-01-30 12:58:18 +00002
Douglas Gregorc9e012a2009-01-29 17:44:32 +00003struct foo {
4 void *a;
5 int b;
6};
7
8union { int i; float f; } u = { };
9
10int main(int argc, char **argv)
11{
12 union { int i; float f; } u2 = { };
13 static struct foo foo = {
14 .b = 1024,
15 };
16}