]> git.proxmox.com Git - rustc.git/blame - src/llvm/tools/clang/test/CodeGen/2003-10-09-UnionInitializerBug.c
Imported Upstream version 0.6
[rustc.git] / src / llvm / tools / clang / test / CodeGen / 2003-10-09-UnionInitializerBug.c
CommitLineData
223e47cc
LB
1// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3struct Foo {
4 unsigned a;
5 unsigned b;
6 unsigned c;
7};
8
9struct Bar {
10 union {
11 void **a;
12 struct Foo b;
13 }u;
14};
15
16struct Bar test = {0};
17