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

13 lines
141 B
C
Raw Normal View History

// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2004-11-07 06:41:00 +08:00
union X {
void *B;
};
2002-08-01 01:54:24 +08:00
union X foo() {
union X A;
A.B = (void*)123;
return A;
}