1// RUN: %clang_cc1 -emit-llvm %s -o /dev/null 2 3 4union X { 5 void *B; 6}; 7 8union X foo() { 9 union X A; 10 A.B = (void*)123; 11 return A; 12} 13