1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00

New testcase found when working on union support *sigh*

llvm-svn: 3149
This commit is contained in:
Chris Lattner 2002-07-30 06:05:40 +00:00
parent 6b03d7d268
commit 0cd1a705a7

View File

@ -0,0 +1,13 @@
union X {
//char C;
//int A;
void *B;
};
union X foo(union X A) {
//A.C = 123;
//A.A = 39249;
A.B = (void*)123040123321;
return A;
}