Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2003-10-09-UnionInitializerBug.c
bloba14fd084c699fb94797a7c6e003efe3511e83615
1 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null
3 struct Foo {
4 unsigned a;
5 unsigned b;
6 unsigned c;
7 };
9 struct Bar {
10 union {
11 void **a;
12 struct Foo b;
13 }u;
16 struct Bar test = {0};