1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 00:12:50 +01:00
llvm-mirror/test/FrontendC/2002-07-30-SubregSetAssertion.c

13 lines
141 B
C
Raw Normal View History

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