blob: 6d4f9f62058166f57c5a447bc95c1ef14bf6c4a6 [file] [log] [blame]
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
union X {
void *B;
};
union X foo() {
union X A;
A.B = (void*)123;
return A;
}