llvm-project/llvm/test/FrontendC/2002-07-30-SubregSetAsserti...

13 lines
141 B
C

// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
union X {
void *B;
};
union X foo() {
union X A;
A.B = (void*)123;
return A;
}