[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / 2003-11-27-UnionCtorInitialization.c
blobca80173bfdc702a36a3fb2013ac30c68fcb36b19
1 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null
3 struct i387_soft_struct {
4 long cwd;
5 long twd;
6 long fip;
7 };
8 union i387_union {
9 struct i387_soft_struct soft;
11 struct thread_struct {
12 union i387_union i387;
14 void _init_task_union(void) {
15 struct thread_struct thread = (struct thread_struct) { {{0}} };