llvm/clang/test/CodeGen/2003-01-30-UnionInit.c

// RUN: %clang_cc1 -emit-llvm %s -o /dev/null

union foo {
  struct { char A, B; } X;
  int C;
};

union foo V = { {1, 2} };