Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2003-11-27-ConstructorCast.c
blobf04fa213b94a5ee66f0eb4057bb5f6c6f3e4614c
1 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null
3 struct i387_soft_struct {
4 long cwd;
5 };
6 union i387_union {
7 struct i387_soft_struct soft;
8 };
9 struct thread_struct {
10 union i387_union i387;
12 void _init_task_union(void) {
13 struct thread_struct thread = (struct thread_struct) { {{0}} };