blob: 39e97b3b4aecc8b78667f1d651df2a0486834638 [file] [log] [blame]
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
union X {
void *B;
};
union X foo() {
union X A;
A.B = (void*)123;
return A;
}