blob: 617c4287d5603d3ee4734d0ddda0ca391be0f7da [file] [log] [blame]
Daniel Dunbar0d7b0912009-02-03 21:54:49 +00001// RUN: clang -triple i386-unknown-unknown %s -emit-llvm -o - | grep "<{ i8\* null, i32 1024 }>"
Nuno Lopes5b2c6d92009-01-30 12:58:18 +00002
Douglas Gregor3498bdb2009-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}